# CVE-2026-55746: Cotonti stored XSS in Personal File Storage module

Source: https://junglewise.ai/threats/cve-2026-55746-cotonti-stored-xss-in-personal-file-storage-module  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-18. Updated: 2026-06-20  
License: CC BY 4.0 with a link back

CVE-2026-55746 · Severity: high · CVSS 7.6 · Published 2026-06-18

Cotonti, a content management system, contains a security flaw in its Personal File Storage (PFS) module. An authenticated user can create a folder with a malicious title containing hidden scripts. When other users or administrators view these folder listings, the script executes in their browser, potentially allowing the attacker to steal session information or perform unauthorized actions on their behalf.

Technologies: [Cotonti](https://junglewise.ai/threats/technologies/cotonti), [cotonti/cotonti (Packagist)](https://junglewise.ai/threats/technologies/cotonti-cotonti). Vendors: [Cotonti](https://junglewise.ai/threats/vendors/cotonti), [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-55746 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-55746 being exploited in the wild.

**How severe is CVE-2026-55746?** High severity, with a CVSS score of 7.6, published 18 June 2026.

**Which products and versions are affected?** Cotonti <= 1.0.0, 1.0.0 (commit f43f1fc3); cotonti/cotonti (Packagist) <= 1.0.0, ECOSYSTEM:introduced=0,last_affected=1.0.0.

**Is there a fix for CVE-2026-55746?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-55746 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-55746?** Check whether you run Cotonti or cotonti/cotonti (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored Cross-Site Scripting (XSS) vulnerability exists in Cotonti 1.0.0 (specifically commit f43f1fc3) within the Personal File Storage (PFS) module. The root cause is the improper neutralization of the 'pff_title' input; the 'TXT' filter used during import fails to strip or encode HTML tags because the tag check in 'cot_import' is disabled. Furthermore, 'modules/pfs/inc/pfs.main.php' assigns this title to the 'PFF_ROW_TITLE' template variable without calling 'htmlspecialchars()', and the corresponding template 'modules/pfs/tpl/pfs.tpl' outputs the variable unescaped. An authenticated attacker can exploit this by creating a folder with a malicious JavaScript payload in the title, which executes when any user views the folder listing.

## Affected products

- Cotonti Cotonti 1.0.0 (commit f43f1fc3)

## Identifiers

- CVE-2026-55746
- GHSA-86hp-hf3j-3m8r

## Timeline

- 2026-06-18: advisory: NVD publication date

## References

- [https://github.com/Cotonti/Cotonti](https://github.com/Cotonti/Cotonti)
- [https://github.com/Cotonti/Cotonti/blob/f43f1fc38ba4e02027786dad9dac1435c7c52b30/modules/pfs/inc/pfs.main.php](https://github.com/Cotonti/Cotonti/blob/f43f1fc38ba4e02027786dad9dac1435c7c52b30/modules/pfs/inc/pfs.main.php)

## Related threats

- [Cotonti weak token generation in user registration](https://junglewise.ai/threats/cve-2026-121553-cotonti-through-1-0-0-generates-registration-and-email-change)
- [Cotonti cross-site request forgery in admin users](https://junglewise.ai/threats/cve-2026-101093-cotonti-through-1-0-0-contains-a-cross-site-request-forgery)
- [Cotonti cross-site request forgery in extensions manager](https://junglewise.ai/threats/cve-2026-100524-cotonti-through-1-0-0-contains-a-cross-site-request-forgery)
- [Cotonti open redirect in message.php](https://junglewise.ai/threats/cve-2026-100523-cotonti-through-1-0-0-contains-an-open-redirect-vulnerability-in)
- [Cotonti reflected cross-site scripting in message.php](https://junglewise.ai/threats/cve-2026-100522-cotonti-through-1-0-0-contains-a-reflected-cross-site-scripting)
