CVE-2026-55746: Cotonti: Stored Cross-Site Scripting in the Personal File Storage (PFS) module
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 (pfftitle) is imported with the 'TXT' filter, which does not strip or encode HTML (the tag check in cotimport is disabled), so an authenticated user can store HTML/JavaScript in a folder title.
Published Jun 18, 2026 · Updated Jun 19, 2026
Affected packages
cotonti/cotonti
- Ecosystem
- Composer (PHP)
- Affected
- <= 1.0.0
- Fixed in
- No patched version yet
- Check
composer show cotonti/cotonti
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-55742
Cotonti: Cross-Site Request Forgery in the administration rights handler
critical9.6No fixJun 18, 2026CVE-2026-55744
Cotonti: Cross-Site Request Forgery in the Personal File Storage (PFS) module
high8.1No fixJun 18, 2026CVE-2026-55745
Cotonti: Cross-Site Request Forgery in the Personal File Storage (PFS) module
medium5.4No fixJun 18, 2026
