Parse Server has Stored XSS via file upload of HTML-renderable file types
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
parse-servernpm | >= 9.0.0-alpha.1, < 9.6.0-alpha.4 | 9.6.0-alpha.4 |
parse-servernpm | < 8.6.30 | 8.6.30 |
Affected products
1- Range: >= 9.0.0 < 9.6.0-alpha.4
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-v5hf-f4c3-m5rvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-31868ghsaADVISORY
- github.com/parse-community/parse-server/releases/tag/8.6.30ghsax_refsource_MISCWEB
- github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.4ghsax_refsource_MISCWEB
- github.com/parse-community/parse-server/security/advisories/GHSA-v5hf-f4c3-m5rvghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.