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.

Severity (CVSS 3.1)7.6High
Exploit odds (30 days)0.3%top 73.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/filebrowser/filebrowserno fix listedGHSA-4wx8-5gm2-2j97
Gogithub.com/filebrowser/filebrowserno fix listedGO-2025-3784
Gogithub.com/filebrowser/filebrowser/v22.33.7GHSA-4wx8-5gm2-2j97
Gogithub.com/filebrowser/filebrowser/v22.33.7GO-2025-3784

Affected products (as reported)

VendorProductVersions
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

References