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-30948

CVE-2026-30948: Parse Server Stored XSS Vulnerability

CVE-2026-30948 is a stored cross-site scripting flaw in Parse Server that allows authenticated users to upload malicious SVG files. This post covers the technical details, affected versions, and mitigation steps.

Published: March 13, 2026

CVE-2026-30948 Overview

CVE-2026-30948 is a stored Cross-Site Scripting (XSS) vulnerability in Parse Server, an open source backend that can be deployed to any infrastructure that can run Node.js. This vulnerability allows any authenticated user to upload an SVG file containing JavaScript code. When served, the file is delivered inline with Content-Type: image/svg+xml and without protective headers, causing the browser to execute embedded scripts within the Parse Server origin context. This can be exploited to steal session tokens from localStorage and achieve complete account takeover.

Critical Impact

Authenticated attackers can steal session tokens and achieve account takeover through malicious SVG file uploads.

Affected Products

  • Parse Server versions prior to 8.6.17 (stable branch)
  • Parse Server versions 9.5.2-alpha1, 9.5.2-alpha2, and 9.5.2-alpha3
  • All Parse Server deployments where file upload is enabled for authenticated users (the default configuration)

Discovery Timeline

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

Technical Details for CVE-2026-30948

Vulnerability Analysis

This stored XSS vulnerability exists because Parse Server's file upload functionality fails to properly sanitize or block SVG files, which are a well-known XSS vector. While the default fileExtensions option blocks HTML file extensions to prevent obvious script injection attacks, it does not block SVG files. SVG (Scalable Vector Graphics) files are XML-based and can contain embedded JavaScript within <script> tags or event handlers like onload.

When an authenticated user uploads a malicious SVG file, Parse Server stores and serves the file with the Content-Type: image/svg+xml header. Critically, the server does not include protective headers such as Content-Disposition: attachment or Content-Security-Policy that would prevent script execution. As a result, when a victim visits the URL of the uploaded SVG file, their browser interprets and executes any embedded JavaScript within the context of the Parse Server origin.

The attack requires low privileges (any authenticated user can upload files by default) and passive user interaction (the victim must visit the malicious SVG URL). However, the impact is significant as attackers can access the same-origin localStorage where Parse Server stores session tokens, enabling complete account takeover.

Root Cause

The root cause is insufficient input validation in Parse Server's file upload functionality. The default fileExtensions configuration blocks common script-bearing file types like .html, .htm, and similar extensions, but fails to include .svg files in this blocklist. This oversight, combined with the server serving uploaded files inline with the SVG MIME type and without security headers, creates an exploitable XSS condition.

Attack Vector

The attack vector is network-based and requires an authenticated attacker to upload a crafted SVG file containing malicious JavaScript. The attacker then tricks a victim into visiting the URL where the SVG is served. When the victim's browser loads the SVG, the embedded JavaScript executes in the Parse Server's origin context.

The malicious SVG could contain JavaScript that reads session tokens from localStorage, exfiltrates them to an attacker-controlled server, or performs actions on behalf of the victim user. Since SVG files are often considered safe image formats, users may be less suspicious of clicking links to SVG resources compared to obvious script files.

Detection Methods for CVE-2026-30948

Indicators of Compromise

  • SVG files uploaded to Parse Server containing <script> tags or JavaScript event handlers (e.g., onload, onclick)
  • Unusual file upload patterns from authenticated users, particularly SVG files with obfuscated or encoded content
  • Network requests from Parse Server domain to unexpected external endpoints (potential token exfiltration)
  • User sessions being hijacked or unauthorized account access following visits to uploaded file URLs

Detection Strategies

  • Implement Content Security Policy (CSP) headers with strict script-src directives to detect and block inline script execution
  • Monitor file upload logs for SVG files and scan uploaded content for embedded JavaScript patterns
  • Deploy web application firewall (WAF) rules to detect and alert on SVG files containing script elements or event handlers
  • Enable audit logging for session token access and monitor for suspicious token usage patterns

Monitoring Recommendations

  • Configure alerts for file uploads with .svg extensions from non-administrative users
  • Monitor for anomalous cross-origin requests originating from the Parse Server domain
  • Implement real-time scanning of uploaded files for embedded active content
  • Track session token usage patterns to identify potential account compromise

How to Mitigate CVE-2026-30948

Immediate Actions Required

  • Upgrade Parse Server to version 8.6.17 (stable) or 9.5.2-alpha.4 (alpha) immediately
  • Audit existing uploaded files for malicious SVG content containing JavaScript
  • Temporarily disable file upload functionality for non-administrative users until patching is complete
  • Implement additional CSP headers to restrict script execution from uploaded file locations

Patch Information

Parse Server has addressed this vulnerability in versions 8.6.17 and 9.5.2-alpha.4. The fix adds SVG to the blocked file extensions list and implements additional security measures for file serving.

For detailed patch information, refer to:

  • GitHub Release 8.6.17
  • GitHub Release 9.5.2-alpha.4
  • GitHub Security Advisory GHSA-hcj7-6gxh-24ww

Workarounds

  • Add svg to the fileExtensions blocklist in Parse Server configuration if immediate upgrade is not possible
  • Configure the web server or CDN to serve uploaded files with Content-Disposition: attachment header to force downloads instead of inline rendering
  • Implement strict Content Security Policy headers that prevent script execution from file storage paths
  • Move uploaded files to a separate origin/subdomain that does not share the same authentication context as the main application
bash
# Configuration example - Add SVG to blocked extensions in Parse Server config
# parse-server-config.json
{
  "fileExtensions": [
    "html",
    "htm",
    "svg"
  ]
}

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechParse Server

  • SeverityHIGH

  • CVSS Score8.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release 8.6.17

  • GitHub Release 9.5.2-alpha.4
  • Vendor Resources
  • GitHub Security Advisory GHSA-hcj7-6gxh-24ww
  • Related CVEs
  • CVE-2026-32728: Parse Server XSS Vulnerability via Upload

  • CVE-2026-31868: Parse Server Stored XSS Vulnerability

  • CVE-2026-39321: Parse Server Information Disclosure Flaw

  • CVE-2026-39381: Parse Server Auth Bypass 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