Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-30934: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gtsteffaniak filebrowser

0
High
VulnerabilityCVE-2026-30934cvecve-2026-30934cwe-79
Published: Tue Mar 10 2026 (03/10/2026, 16:12:23 UTC)
Source: CVE Database V5
Vendor/Project: gtsteffaniak
Product: filebrowser

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.

AI-Powered Analysis

AILast updated: 03/10/2026, 17:03:36 UTC

Technical Analysis

CVE-2026-30934 is a stored cross-site scripting vulnerability identified in the FileBrowser Quantum product, a free, self-hosted, web-based file manager developed by gtsteffaniak. The vulnerability exists in versions prior to 1.3.1-beta and 1.2.2-stable. The root cause is improper neutralization of input during web page generation (CWE-79), specifically in the rendering of share metadata fields such as title and description on the /public/share/<hash> endpoint. The server uses Go's text/template package instead of the safer html/template package, which lacks context-aware escaping for HTML content. This allows an attacker with at least low privileges to inject malicious JavaScript code into these metadata fields. When a victim visits the crafted share URL, the injected script executes in their browser context, potentially stealing cookies, session tokens, or performing actions on behalf of the user. The vulnerability requires user interaction (visiting the malicious URL) and low privileges to inject the payload, but can lead to high confidentiality and integrity impacts, including account compromise or data theft. The CVSS v3.1 score is 8.9 (high), reflecting network attack vector, low attack complexity, low privileges required, user interaction needed, and scope change due to cross-origin impact. No known exploits in the wild have been reported yet. The issue is resolved in FileBrowser Quantum versions 1.3.1-beta and 1.2.2-stable by switching to proper context-aware escaping. This vulnerability highlights the importance of using secure templating engines and sanitizing user input in web applications.

Potential Impact

The impact of CVE-2026-30934 is significant for organizations using vulnerable versions of FileBrowser Quantum. Successful exploitation allows attackers to execute arbitrary JavaScript in the context of the victim's browser when they access a shared link, leading to theft of sensitive information such as authentication tokens, session cookies, or personal data. This can result in unauthorized access to user accounts, data exfiltration, and further lateral movement within the organization’s environment. The integrity of data can be compromised by malicious script actions, such as modifying displayed content or triggering unauthorized operations. Availability impact is limited but could occur if attackers use the vulnerability to perform denial-of-service attacks via script execution. Since FileBrowser Quantum is often self-hosted and used to manage sensitive files, the breach of confidentiality and integrity poses a critical risk. The vulnerability also undermines user trust in shared links and may lead to reputational damage. Organizations with external-facing FileBrowser instances are particularly at risk, especially if users are tricked into visiting maliciously crafted share URLs.

Mitigation Recommendations

To mitigate CVE-2026-30934, organizations should immediately upgrade FileBrowser Quantum to versions 1.3.1-beta or 1.2.2-stable where the vulnerability is fixed. If upgrading is not immediately possible, implement strict input validation and sanitization on share metadata fields to prevent script injection. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers accessing the shared URLs. Review and audit all existing shared links for suspicious or unexpected metadata content. Limit the exposure of the /public/share/ endpoint by restricting access to trusted users or networks where feasible. Educate users about the risks of clicking on untrusted shared links. Additionally, monitor logs for unusual activity related to share URLs and consider deploying web application firewalls (WAFs) with rules to detect and block XSS payloads targeting this endpoint. Finally, developers should ensure the use of context-aware templating engines like html/template in Go to prevent similar vulnerabilities in future releases.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-07T16:40:05.885Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b04b8dea502d3aa873bad1

Added to database: 3/10/2026, 4:49:17 PM

Last enriched: 3/10/2026, 5:03:36 PM

Last updated: 3/10/2026, 7:16:27 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses