CVE-2026-30934

FileBrowser Quantum: Stored XSS in public share page via unsanitized share metadata (text/template misuse)

Published Mar 10, 2026 CVSS 3.1 · 8.9 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

FileBrowser Quantum allowed an attacker to embed malicious scripts in shared metadata fields such as title or description. Because the server used the text/template Go package instead of the context‑aware html/template, these scripts were rendered directly into the HTML of the public share page. When a victim opened that page, the payload executed in the victim's browser, potentially leaking session cookies, defacing the site, or executing further malicious actions. This is a classic stored XSS flaw (CWE‑79) that compromises confidentiality, integrity, and availability of the affected sessions.

Affected Systems

The vulnerability affects FileBrowser Quantum versions released before 1.3.1‑beta and before 1.2.2‑stable, including the 1.2.1 stable release and the 1.3.0 beta build. The vendor is gtsteffaniak. Attacks target the /public/share/<hash> endpoint which renders any user‑supplied metadata without escaping.

Risk and Exploitability

The flaw receives a CVSS score of 8.9, indicating high severity. The EPSS score is below 1 %, suggesting few attacks are currently observed, but the vulnerability is listed only in the vendor advisory and is not yet in the CISA KEV list. An attacker needs to create or modify a share with malicious metadata; once a user visits the public URL, the injected code executes. This requires no privileged access and can be carried out by anyone who can publish a share.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FileBrowser Quantum 1.3.1‑beta, 1.2.2‑stable, or a later version that removes the unsanitized rendering.
  • If an upgrade cannot be performed immediately, limit the ability to create shares to trusted users and sanitize or remove any metadata before publishing a share.
  • Configure the web server to issue a strong Content‑Security‑Policy header that restricts the execution of inline scripts on the public share page.

Generated by OpenCVE AI on April 16, 2026 at 09:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r633-fcgp-m532 FileBrowser Quantum: Stored XSS in public share page via unsanitized share metadata (text/template misuse)
History
Type Values Removed Values Added
First Time appeared Filebrowser
Filebrowser filebrowser
CPEs cpe:2.3:a:filebrowser:filebrowser:*:*:*:*:*:*:*:*
cpe:2.3:a:filebrowser:filebrowser:1.2.1:stable:*:*:*:*:*:*
cpe:2.3:a:filebrowser:filebrowser:1.3.0:beta:*:*:*:*:*:*
Vendors & Products Filebrowser
Filebrowser filebrowser
Type Values Removed Values Added
First Time appeared Gtsteffaniak
Gtsteffaniak filebrowser
Vendors & Products Gtsteffaniak
Gtsteffaniak filebrowser
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title FileBrowser Quantum: Stored XSS in public share page via unsanitized share metadata (text/template misuse)
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 10, 2026, 4:41 PM
Reserved
Mar 7, 2026, 4:40 PM
Status
Analyzed
Published
Mar 10, 2026, 6:18 PM
Modified
Jun 17, 2026, 10:33 AM