Skip to main content

Cotonti CVE-2026-55746

| EUVDEUVD-2026-37858 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-06-18 TuranSec GHSA-86hp-hf3j-3m8r
7.0
CVSS 4.0 · Vendor: TuranSec
Share

Severity by source

Vendor (TuranSec) PRIMARY
7.0 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.4 MEDIUM

Network-reachable PFS module exploitable by any authenticated low-priv user (PR:L); victim must view the folder listing (UI:R); payload executes in another user's browser context (S:C) with limited C/I impact and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
P
Scope
X

Lifecycle Timeline

5
Analysis Updated
Jun 18, 2026 - 08:44 vuln.today
v3 (cvss_changed)
Analysis Updated
Jun 18, 2026 - 08:44 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jun 18, 2026 - 08:37 vuln.today
cvss_changed
CVSS changed
Jun 18, 2026 - 08:37 NVD
7.6 (HIGH) 7.0 (HIGH)
Analysis Generated
Jun 18, 2026 - 08:03 vuln.today

DescriptionCVE.org

Cotonti 1.0.0 (master branch, commit f43f1fc3) is vulnerable to stored Cross-Site Scripting in the Personal File Storage (PFS) module. A folder title (pff_title) is imported with the 'TXT' filter, which does not strip or encode HTML (the tag check in cot_import is disabled), so an authenticated user can store HTML/JavaScript in a folder title. In modules/pfs/inc/pfs.main.php the title is assigned to the template variable PFF_ROW_TITLE without htmlspecialchars(), and modules/pfs/tpl/pfs.tpl outputs {PFF_ROW_TITLE} unescaped. When the folder listing is viewed (including by other users for public folders), the injected script executes in the victim's browser.

AnalysisAI

Stored cross-site scripting in Cotonti 1.0.0 (master branch, commit f43f1fc3) lets an authenticated user inject HTML/JavaScript into Personal File Storage (PFS) folder titles, which then execute in any viewer's browser when the folder listing is rendered. The flaw stems from the 'TXT' import filter not encoding HTML combined with unescaped template output, and no public exploit identified at time of analysis. Discovered by TuranSec; impact extends to other users browsing public folders, enabling session theft or account actions in their context.

Technical ContextAI

Cotonti is an open-source PHP-based content management and community platform. The vulnerability lives in the Personal File Storage (PFS) module: the folder title field (pff_title) is processed through cot_import() using the 'TXT' filter, which intentionally omits HTML tag stripping/encoding (the tag check is disabled for this filter). The raw value is then assigned to template variable PFF_ROW_TITLE in modules/pfs/inc/pfs.main.php without htmlspecialchars(), and modules/pfs/tpl/pfs.tpl emits {PFF_ROW_TITLE} unescaped. This is a textbook CWE-79 (Improper Neutralization of Input During Web Page Generation) caused by trusting an input filter that does not actually sanitize HTML and by missing contextual output encoding at the template layer. CPE coverage (cpe:2.3:a:cotonti:cotonti:*) implies all versions matching the vulnerable code path are in scope until a fix lands.

RemediationAI

No vendor-released patch identified at time of analysis; monitor the upstream repository (https://github.com/Cotonti/Cotonti) for a fix to modules/pfs/inc/pfs.main.php and modules/pfs/tpl/pfs.tpl. Pending an official release, operators should apply a local patch wrapping PFF_ROW_TITLE assignment with htmlspecialchars($pff_title, ENT_QUOTES, 'UTF-8') before assigning to the template, or switch the cot_import filter for pff_title from 'TXT' to a stricter HTML-stripping filter - both changes risk breaking any legitimate use of formatting characters in folder titles but are safe for the typical use case. Compensating controls include restricting PFS folder creation to trusted user groups via Cotonti's permission system, disabling public folders so titles are only rendered to the owner, and deploying a Content-Security-Policy header that forbids inline script (script-src 'self') which neutralizes most XSS payloads at the cost of breaking any inline scripts in custom themes.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-55746 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy