CVE-2025-52902 Details
Description
File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. The Markdown preview function of File Browser prior to v2.33.7 is vulnerable to Stored Cross-Site-Scripting (XSS). Any JavaScript code that is part of a Markdown file uploaded by a user will be executed by the browser. Version 2.33.7 contains a fix for the issue.
A stored cross-site scripting vulnerability has been identified in the Markdown preview function of File Browser versions through 2.33.6. This issue allows JavaScript code included in a Markdown file uploaded by a user to be executed in the browser. The vulnerability arises because most Markdown parsers render arbitrary HTML, which can be exploited by embedding JavaScript in a crafted image tag, for example. When another user previews the file, the JavaScript executes, potentially leading to session token theft or privilege escalation, especially if the victim is an administrator.
Users can update to File Browser version 2.33.7, which addresses this vulnerability by sanitizing Markdown previews with DOMPurify, a library that removes harmful HTML and JavaScript.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-80 | Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| filebrowser filebrowser | < 2.33.7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 10, 2025 | Initial Analysis | [email protected] |
| Jun 26, 2025 | New CVE Received | [email protected] |