Vulnerability · Published Jun 26, 2025 · Assigned by GitHub_M
CVE-2025-52902File Browser has Stored Cross-Site Scripting vulnerability
High 7.6
In plain English
A high-severity cross-site scripting in filebrowser from filebrowser. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/filebrowser/filebrowser | no fix listed | GHSA-4wx8-5gm2-2j97 |
| Go | github.com/filebrowser/filebrowser | no fix listed | GO-2025-3784 |
| Go | github.com/filebrowser/filebrowser/v2 | 2.33.7 | GHSA-4wx8-5gm2-2j97 |
| Go | github.com/filebrowser/filebrowser/v2 | 2.33.7 | GO-2025-3784 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| filebrowser | filebrowser | < 2.33.7 |
Weakness: CWE-79, CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N