Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/filebrowser/filebrowser/v2
  4. ›
  5. CVE-2025-52902

CVE-2025-52902: filebrowser allows Stored Cross-Site Scripting through the Markdown preview function

June 27, 2025 (updated August 4, 2025)

The Markdown preview function of File Browser v2.32.0 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

References

  • github.com/advisories/GHSA-4wx8-5gm2-2j97
  • github.com/filebrowser/filebrowser
  • github.com/filebrowser/filebrowser/commit/f19943a42e8e092e811dffbe9f4623dac36f1f0d
  • github.com/filebrowser/filebrowser/security/advisories/GHSA-4wx8-5gm2-2j97
  • github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250325-04_Filebrowser_Stored_XSS
  • nvd.nist.gov/vuln/detail/CVE-2025-52902
  • pkg.go.dev/vuln/GO-2025-3784

Code Behaviors & Features

Detect and mitigate CVE-2025-52902 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.33.7

Fixed versions

  • 2.33.7

Solution

Upgrade to version 2.33.7 or above.

Impact 7.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/filebrowser/filebrowser/v2/CVE-2025-52902.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 06 Dec 2025 12:18:19 +0000.