CVE-2025-52902
MEDIUM 5.4CVSS 3.1filebrowser allows Stored Cross-Site Scripting through the Markdown preview function
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.
- Published
- 26 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-4wx8-5gm2-2j97GO-2025-3784
- Sources
- NVDJSONOSV GHSA-4wx8-5gm2-2j97JSONOSV GO-2025-3784JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | filebrowser | filebrowsercpe:2.3:a:filebrowser:filebrowser:*:*:*:*:*:*:*:* |
< 2.33.7 | 2.33.7 |
| OSV | Go | github.com/filebrowser/filebrowser/v2 | < 2.33.7 | 2.33.7 |
| OSV | Go | github.com/filebrowser/filebrowser | <= 1.11.0 | |
| OSV | Go | github.com/filebrowser/filebrowser | all versions |
References
- https://github.com/filebrowser/filebrowser/commit/f19943a42e8e092e811dffbe9f4623dac36f1f0d · Patch, WEB, FIX
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-4wx8-5gm2-2j97 · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-52902 · ADVISORY
- https://github.com/filebrowser/filebrowser · PACKAGE
- https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250325-04_Filebrowser_Stored_XSS · WEB
- https://pkg.go.dev/vuln/GO-2025-3784 · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 26 Jun 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Jun 2025)