Advisory

GHSA-86hp-hf3j-3m8r

Also known as: CVE-2026-55746

Summary

Cotonti: Stored Cross-Site Scripting in the Personal File Storage (PFS) module

Details

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 Basis: The source's own band: HIGH

Dates

Published
2026-06-18 12:40 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

cotonti/cotonti

Packagist · All systems

Affected

  • introduced 0, last affected 1.0.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences