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. In modules/pfs/inc/pfs.main.php the title is assigned to the template variable PFFROWTITLE without htmlspecialchars(), and modules/pfs/tpl/pfs.tpl outputs {PFFROWTITLE} unescaped. When the folder listing is viewed (including by other users for public folders), the injected script executes in the victim's browser.
{
"github_reviewed": true,
"github_reviewed_at": "2026-06-19T14:52:31Z",
"nvd_published_at": "2026-06-18T08:16:34Z",
"severity": "HIGH",
"cwe_ids": [
"CWE-79"
]
}