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-31868: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in parse-community parse-server

0
Medium
VulnerabilityCVE-2026-31868cvecve-2026-31868cwe-79
Published: Wed Mar 11 2026 (03/11/2026, 17:54:33 UTC)
Source: CVE Database V5
Vendor/Project: parse-community
Product: parse-server

Description

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.6.0-alpha.4 and 8.6.30, an attacker can upload a file with a file extension or content type that is not blocked by the default configuration of the Parse Server fileUpload.fileExtensions option. The file can contain malicious code, for example JavaScript in an SVG or XHTML file. When the file is accessed via its URL, the browser renders the file and executes the malicious code in the context of the Parse Server domain. This is a stored Cross-Site Scripting (XSS) vulnerability that can be exploited to steal session tokens, redirect users, or perform actions on behalf of other users. Affected file extensions and content types include .svgz, .xht, .xml, .xsl, .xslt, and content types application/xhtml+xml and application/xslt+xml for extensionless uploads. Uploading of .html, .htm, .shtml, .xhtml, and .svg files was already blocked. This vulnerability is fixed in 9.6.0-alpha.4 and 8.6.30.

AI-Powered Analysis

AILast updated: 03/11/2026, 18:47:50 UTC

Technical Analysis

Parse Server is an open-source backend framework that runs on Node.js and is widely used for mobile and web applications. CVE-2026-31868 is a stored Cross-Site Scripting (XSS) vulnerability affecting parse-server versions >= 9.0.0 and < 9.6.0-alpha.4, and versions below 8.6.30. The vulnerability stems from insufficient input validation and improper neutralization of file uploads with certain extensions or content types that are not blocked by the default fileUpload.fileExtensions configuration. Specifically, attackers can upload files with extensions such as .svgz, .xht, .xml, .xsl, and .xslt, or with content types application/xhtml+xml and application/xslt+xml, which can embed malicious JavaScript code. When a victim accesses the URL of such a file, the browser renders the file and executes the embedded script in the context of the parse-server domain, leading to stored XSS. This can result in session hijacking, unauthorized actions on behalf of users, or redirection to malicious sites. Notably, uploads of .html, .htm, .shtml, .xhtml, and .svg files were already blocked, but the vulnerability arises from the overlooked extensions and content types. Exploitation requires no authentication but does require that a user accesses the malicious file URL. The vulnerability has a CVSS 4.0 base score of 6.3, indicating medium severity, with network attack vector, low complexity, no privileges required, no user interaction required for the attack to succeed once the malicious file is accessed, and high impact on confidentiality, integrity, and availability due to scope change. The issue was fixed in versions 9.6.0-alpha.4 and 8.6.30 by tightening file extension and content type validation.

Potential Impact

This vulnerability can have significant impacts on organizations using vulnerable versions of parse-server. Successful exploitation allows attackers to execute arbitrary JavaScript in the security context of the parse-server domain, potentially leading to theft of session tokens, enabling account takeover, unauthorized actions on behalf of users, and redirection to malicious websites. This compromises user confidentiality and integrity of data and can disrupt availability by manipulating application behavior. Since parse-server is used as a backend for many mobile and web applications, the scope of affected systems can be broad, especially for organizations that allow user file uploads without additional filtering. The attack requires no authentication, increasing risk, but does require user interaction to access the malicious file URL. Although no known exploits are reported in the wild yet, the medium severity and ease of exploitation make it a credible threat. Organizations relying on parse-server for critical applications could face reputational damage, data breaches, and regulatory consequences if exploited.

Mitigation Recommendations

Organizations should immediately upgrade parse-server to versions 9.6.0-alpha.4 or 8.6.30 or later, where the vulnerability is patched. In addition to upgrading, administrators should review and tighten the fileUpload.fileExtensions configuration to explicitly block all potentially dangerous file extensions and content types, including those identified in this vulnerability (.svgz, .xht, .xml, .xsl, .xslt, and related MIME types). Implement additional server-side validation and sanitization of uploaded files to detect and reject files containing executable scripts or unexpected markup. Employ Content Security Policy (CSP) headers to restrict script execution contexts and reduce the impact of any injected scripts. Monitor logs for suspicious file uploads and access patterns to detect exploitation attempts. Educate users to avoid clicking on untrusted URLs and consider implementing user authentication or authorization checks before serving uploaded files. Finally, conduct regular security assessments and penetration testing focused on file upload functionalities.

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-09T19:02:25.013Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b1b88a2f860ef943602154

Added to database: 3/11/2026, 6:46:34 PM

Last enriched: 3/11/2026, 6:47:50 PM

Last updated: 3/14/2026, 12:00:43 AM

Views: 13

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