{"id":"GHSA-86hp-hf3j-3m8r","aliases":["CVE-2026-55746"],"title":"Cotonti: Stored Cross-Site Scripting in the Personal File Storage (PFS) module","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.","severity":"high","score":7.6,"published":"2026-06-18T12:40:26.000Z","modified":"2026-09-10T03:51:08.120Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"cotonti/cotonti","ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.0.0"}],"type":"ECOSYSTEM"}],"versions":["0.9.23","0.9.24","0.9.24.1","0.9.24.2","0.9.25","1.0.0"],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2026-55746","https://github.com/Cotonti/Cotonti","https://github.com/Cotonti/Cotonti/blob/f43f1fc38ba4e02027786dad9dac1435c7c52b30/modules/pfs/inc/pfs.main.php#L396"],"sources":[{"name":"OSV","id":"GHSA-86hp-hf3j-3m8r","modified":"2026-09-10T03:51:08.120593727Z","url":"https://osv.dev/vulnerability/GHSA-86hp-hf3j-3m8r"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","score":7.6},{"source":"OSV","vector":"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","score":7}]}