GitHub Advisoryadvisory · Packagist

GHSA-86hp-hf3j-3m8r Cotonti: Stored Cross-Site Scripting in the Personal File Storage (PFS) module

HIGH Published 2026-06-18 Modified 2026-06-19 Official page ↗
Aliases
CVE-2026-55746
Ecosystem
Packagist
Packages
cotonti/cotonti
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Weaknesses
CWE-79
Reviewed
2026-06-19

Affected packages

• Packagist cotonti/cotonti: <= 1.0.0 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-55746 Cotonti 1.0.0 (master branch, commit f43f1fc3) is vulnerable to stored Cross-Site Scripting in the Personal File Storage (PFS) module. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References