Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.6
CVE-2025-52902: File Browser allows malicious code in uploaded markdown
CVE-2025-52902 · published 1 year ago
Summary
The File Browser web tool lets users upload and preview markdown files. Before version 2.33.7, any JavaScript placed in an uploaded markdown file could run in other users' browsers, potentially exposing data or altering the page. Upgrade to version 2.33.7 or later to stop this behavior.
What to do
- Update github.com filebrowser to version 2.33.7.
- Update filebrowser filebrowser to version 2.33.7 or later.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| go | github.com | filebrowser |
< 2.33.7 Fix: upgrade to 2.33.7
|
| go | github.com | filebrowser | <= 1.11.0 |
| – | filebrowser | filebrowser |
< 2.33.7 cpe:2.3:a:filebrowser:filebrowser:*:*:*:*:*:*:*:* |
Original advisory text
File Browser has Stored Cross-Site Scripting vulnerability
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.
References
- https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250325-04_F...
- https://pkg.go.dev/vuln/GO-2025-3784
- https://github.com/advisories/GHSA-4wx8-5gm2-2j97
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-4wx8-5gm2-2j... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-52902 Vendor Advisory
- https://github.com/filebrowser/filebrowser/commit/f19943a42e8e092e811dffbe9f4623... Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52902... Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-79Cross-site Scripting (XSS)
CWE-80Basic XSS
Timeline
Published26 Jun 2025
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta