CVE-2026-35200
LOWVulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Interpretation consistency
|
| Impact | Although no CVSS vector or EPSS score is provided, this vulnerability carries moderate real-world risk for deployments using cloud storage adapters. The attack surface is limited to files served through storage adapters that trust stored Content-Type metadata (S3, GCS); GridFS users are not vulnerable. The attack requires a legitimate file upload capability, but no authentication requirement is documented. Exploitation is straightforward-an attacker uploads a .txt file with Content-Type: text/html and waits for it to be served, resulting in XSS if the file contains JavaScript. The lack of a CVSS score may reflect the vendor's determination that attack complexity is low but real-world impact depends heavily on deployment specifics (e.g., whether files are served from a CDN, whether the same origin policy applies). This should be prioritized for teams using S3 or GCS storage; GridFS users can deprioritize. The vendor has already released patches (PRs #10383 and #10384), indicating confidence in remediation. |
| Exploit ScenarioDerived | An attacker with file upload privileges to a Parse Server instance using S3 or GCS storage uploads a text file with .txt extension containing malicious JavaScript and sets the Content-Type header to text/html. The application's allowlist validation passes because the extension is whitelisted, but the storage adapter stores the html Content-Type. When the file is later served (directly from S3/GCS or via a CDN), the browser interprets it as HTML and executes the JavaScript in the context of the application's origin, resulting in reflected XSS. No special privileges or complex exploitation techniques are required beyond legitimate file upload access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 04, 2026
Parse Server file upload handler fails to validate Content-Type headers against filename extensions, allowing attackers to upload files with benign extensions (e.g., .txt) but malicious MIME types (e.g., text/html) that are served with the user-supplied Content-Type by cloud storage adapters like S3 and GCS. This enables content-type confusion attacks such as reflected XSS when files are served through CDNs or web servers that trust the stored Content-Type header. The default GridFS adapter is unaffected due to its filename-based Content-Type derivation at serving time.
RemediationAI
Upgrade Parse Server to the patched version released in response to GitHub pull requests #10383 or #10384, which implement Content-Type derivation from filename extensions, overriding any user-supplied Content-Type header. Exact patched version numbers can be found in the release notes linked from the GitHub advisory at https://github.com/parse-community/parse-server/security/advisories/GHSA-vr5f-2r24-w5hc. For teams unable to upgrade immediately, configure the storage adapter (S3, GCS, or CDN) to derive Content-Type from the filename extension rather than using the stored metadata Content-Type value. Additionally, implement filename extension allowlisting at the storage adapter level as a defense-in-depth measure.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Parse Server is a Node.js backend framework that provides file upload functionality through pluggable storage adapters. The vulnerability exists in the file upload pipeline where user-supplied Content-Type headers are passed to storage adapters (S3, GCS, etc.) without validation against the filename extension. This creates a TOCTOU-like inconsistency: the allowlist validation checks only the filename extension (enforcing safe extensions like .txt), but the Content-Type header-which controls how the file is interpreted by browsers and CDNs-is left under attacker control. Cloud storage services like AWS S3 and Google Cloud Storage respect the metadata Content-Type field when serving files, causing them to deliver .txt files with text/html Content-Type, triggering browser interpretation as HTML. The GridFS adapter (MongoDB's native storage) is not vulnerable because it reconstructs Content-Type from the filename at serving time, overriding stored metadata. The root cause is classified under CWE-436 (Interpretation Conflict), a variant of TOCTOU where different components interpret the same input differently. The affected product is the npm package parse-server across versions prior to the patch releases.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Primary rating from Vendor (https://github.com/parse-community/parse-server) · only source for this CVE.
CVSS VectorVendor: https://github.com/parse-community/parse-server
Lifecycle Timeline
2DescriptionCVE.org
Impact
A file can be uploaded with a filename extension that passes the file extension allowlist (e.g., .txt) but with a Content-Type header that differs from the extension (e.g., text/html). The Content-Type is passed to the storage adapter without consistency validation. Storage adapters that store and serve the provided Content-Type (such as S3 or GCS) serve the file with the mismatched Content-Type. The default GridFS adapter is not affected because it derives Content-Type from the filename at serving time.
Patches
The file upload now derives the Content-Type from the filename extension, overriding any user-provided Content-Type when the file has an extension.
Workarounds
Configure the storage adapter or CDN to derive Content-Type from the filename extension instead of using the stored Content-Type.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
GHSA-vr5f-2r24-w5hc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB