Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_M
CVE-2026-30934FileBrowser Quantum: Stored XSS in public share page via unsanitized share metadata (text/template misuse)
High 8.9
In plain English
A high-severity cross-site scripting in filebrowser from gtsteffaniak. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
FileBrowser Quantum is a free, self-hosted, web-based file manager. Prior to 1.3.1-beta and 1.2.2-stable, Stored XSS is possible via share metadata fields (e.g., title, description) that are rendered into HTML for /public/share/<hash> without context-aware escaping. The server uses text/template instead of html/template, allowing injected scripts to execute when victims visit the share URL. This vulnerability is fixed in 1.3.1-beta and 1.2.2-stable.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/gtsteffaniak/filebrowser | 0.0.0-20260307130210-09713b32a5f6 | GHSA-r633-fcgp-m532 |
| Go | github.com/gtsteffaniak/filebrowser | 0.0.0-20260307130210-09713b32a5f6 | GO-2026-4660 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gtsteffaniak | filebrowser | >= 1.3.0-beta, < 1.3.1-beta< 1.2.2-stable |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L