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

CVE-2026-31868: Parse Server Stored XSS Vulnerability

CVE-2026-31868 is a stored cross-site scripting flaw in Parse Server that allows attackers to upload malicious files and execute code in users' browsers. This article covers technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-31868 Overview

Parse Server, an open source backend that can be deployed to any infrastructure running Node.js, contains a stored Cross-Site Scripting (XSS) vulnerability in versions prior to 9.6.0-alpha.4 and 8.6.30. The vulnerability exists due to insufficient file extension and content type validation in the default configuration of the fileUpload.fileExtensions option, allowing attackers to upload files containing malicious code that executes when accessed via the file's URL.

Critical Impact

Attackers can exploit this stored XSS vulnerability to steal session tokens, redirect users to malicious sites, or perform unauthorized actions on behalf of other users by uploading malicious files with bypassed extensions.

Affected Products

  • Parse Server versions prior to 9.6.0-alpha.4
  • Parse Server versions prior to 8.6.30
  • Applications using Parse Server with default file upload configurations

Discovery Timeline

  • 2026-03-11 - CVE CVE-2026-31868 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-31868

Vulnerability Analysis

This vulnerability is classified as CWE-79: Improper Neutralization of Input During Web Page Generation (Cross-Site Scripting). The flaw allows attackers to bypass the default file upload restrictions by using file extensions and content types that were not included in the blocklist. While Parse Server's default configuration blocks common dangerous extensions such as .html, .htm, .shtml, .xhtml, and .svg, several other extensions capable of executing scripts in the browser context were not blocked.

The affected file extensions include .svgz (compressed SVG), .xht, .xml, .xsl, and .xslt. Additionally, content types application/xhtml+xml and application/xslt+xml were permitted for extensionless uploads, allowing malicious content to be served with executable MIME types.

Root Cause

The root cause of this vulnerability lies in an incomplete blocklist implementation within Parse Server's file upload validation logic. The fileUpload.fileExtensions configuration option did not account for all file types capable of containing and executing malicious scripts when rendered by web browsers. Specifically, XML-based formats that support embedded JavaScript or can trigger script execution were inadvertently permitted.

When a browser receives files with these extensions or content types from the Parse Server domain, it interprets and executes any embedded scripts within the same origin context, enabling stored XSS attacks.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker exploits this vulnerability by:

  1. Uploading a malicious file with one of the bypassed extensions (e.g., .svgz, .xht, .xml, .xsl, .xslt) or using an extensionless file with application/xhtml+xml or application/xslt+xml content type
  2. Embedding JavaScript code within the file (for example, within an SVG or XHTML document)
  3. Distributing the URL of the uploaded file to potential victims
  4. When victims access the URL, their browser renders the file within the Parse Server domain context
  5. The malicious JavaScript executes with access to cookies, session tokens, and the ability to perform authenticated actions

The vulnerability exploits the trust relationship browsers have with content served from the same origin, making session hijacking and credential theft possible.

Detection Methods for CVE-2026-31868

Indicators of Compromise

  • Unusual file uploads with extensions .svgz, .xht, .xml, .xsl, or .xslt containing script tags or JavaScript event handlers
  • Files uploaded without extensions but with content types application/xhtml+xml or application/xslt+xml
  • Access logs showing repeated requests to uploaded XML-based files from multiple user sessions
  • User reports of unexpected behavior or redirects when accessing uploaded content

Detection Strategies

  • Implement content inspection for uploaded files to detect embedded JavaScript, <script> tags, or event handler attributes
  • Monitor file upload API endpoints for suspicious file types that match the affected extensions
  • Deploy Web Application Firewall (WAF) rules to inspect uploaded file content for XSS patterns
  • Audit existing uploaded files in Parse Server storage for potentially malicious XML-based content

Monitoring Recommendations

  • Enable verbose logging for file upload operations including file names, extensions, and content types
  • Configure alerting for uploads matching the vulnerable file extension patterns
  • Monitor for anomalous user session activity that could indicate session token theft
  • Review access patterns to uploaded files for potential XSS exploitation indicators

How to Mitigate CVE-2026-31868

Immediate Actions Required

  • Upgrade Parse Server to version 9.6.0-alpha.4 or 8.6.30 immediately
  • Review and remove any existing files with the affected extensions (.svgz, .xht, .xml, .xsl, .xslt) that may contain malicious content
  • Configure custom fileUpload.fileExtensions blocklist to include the vulnerable extensions until patches can be applied
  • Implement Content Security Policy (CSP) headers to mitigate script execution from uploaded content

Patch Information

Parse Server has released patched versions that address this vulnerability. Organizations should upgrade to one of the following versions:

  • Version 8.6.30 - Stable release with the security fix. See Parse Server Release 8.6.30 for release notes.
  • Version 9.6.0-alpha.4 - Alpha release with the security fix. See Parse Server Release 9.6.0-alpha.4 for release notes.

For complete technical details regarding this vulnerability, refer to the GitHub Security Advisory GHSA-v5hf-f4c3-m5rv.

Workarounds

  • Update the fileUpload.fileExtensions configuration to explicitly block .svgz, .xht, .xml, .xsl, and .xslt extensions
  • Configure your web server or CDN to serve uploaded files with Content-Disposition: attachment header to prevent browser rendering
  • Implement a Content Security Policy that restricts script execution from user-uploaded content
  • Serve uploaded files from a separate domain or subdomain to isolate the security context from the main application
bash
# Example Parse Server configuration to block vulnerable extensions
# Add to your Parse Server configuration file

# Option 1: Block specific vulnerable extensions (append to existing blocklist)
# fileUpload.fileExtensions: ['html', 'htm', 'shtml', 'xhtml', 'svg', 'svgz', 'xht', 'xml', 'xsl', 'xslt']

# Option 2: Configure web server to force download for uploaded files (nginx example)
# location /files/ {
#     add_header Content-Disposition "attachment";
#     add_header X-Content-Type-Options "nosniff";
# }

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

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/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
  • Parse Server Release 8.6.30

  • Parse Server Release 9.6.0-alpha.4

  • GitHub Security Advisory GHSA-v5hf-f4c3-m5rv
  • Related CVEs
  • CVE-2026-32728: Parse Server XSS Vulnerability via Upload

  • CVE-2026-30948: 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