CVE-2026-55746
Received Received - Intake
Stored XSS in Cotonti PFS Module

Publication date: 2026-06-18

Last updated on: 2026-06-18

Assigner: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-18
Last Modified
2026-06-18
Generated
2026-06-18
AI Q&A
2026-06-18
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
cotonti cotonti 1.0.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-55746 is a stored Cross-Site Scripting (XSS) vulnerability in Cotonti 1.0.0's Personal File Storage (PFS) module. Specifically, the folder title (pff_title) is imported using a 'TXT' filter that does not remove or encode HTML content because the tag check in cot_import is disabled. This allows an authenticated user to insert HTML or JavaScript code into a folder title.

The vulnerability arises because the folder title is assigned to a template variable without applying htmlspecialchars(), and the template outputs this variable unescaped. As a result, when the folder listing is viewed by other users (including those viewing public folders), the malicious script executes in their browsers.

Impact Analysis

This vulnerability can lead to the execution of malicious scripts in the browsers of users who view the affected folder listings. An attacker who exploits this can perform actions such as stealing session cookies, defacing the website, redirecting users to malicious sites, or performing actions on behalf of the victim user.

Since the vulnerability requires an authenticated user to inject the script, it may be limited to environments where users have some level of access, but the impact is significant because it affects other users who view the public or shared folders.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-55746. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart