Servers and applications
CVE-2026-31868
Stored XSS via file upload of HTML-renderable file types
- Severity
- Medium 6.3
- Published
- 10 Mar 2026
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 8.6.30, 9.6.0
- Exploit chance
- 0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · Needs someone to click or open something
- 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- Also known as
- GHSA-v5hf-f4c3-m5rv
- Sources
- NVD, Project advisories (GitHub)
Description
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.
Workarounds
Configure the fileUpload.fileExtensions server option to block the affected file extensions and content types.
Affected software
| Software | Affected versions |
|---|---|
Parse ServerServers and applications · cpe:a:parseplatform:parse-server |
|
Parse ServerServers and applications · github:parse-community/parse-server |
|
About Parse Server
Parse Server for Node.js / Express
- Weekly downloads (npm)
- 54,531npm, 15 Nov 2026
- Docker Hub pulls
- 4,250,088Docker Hub, 15 Nov 2026
- GitHub stars
- 21,396GitHub, 15 Nov 2026
- Forks
- 4,811GitHub, 15 Nov 2026
- Latest release
- 8.6.123GitHub, 15 Nov 2026
- Released
- 9 Nov 2026GitHub
- License
- Apache-2.0GitHub
- First published on GitHub
- 28 Jan 2016GitHub
Source code Website Docker image Package
Vulnerabilities in Parse Server
- In our list
- 184
- Published in the last 12 months
- 156
- Critical, last 12 months
- 14
- High, last 12 months
- 52
- Known exploited
- 0
- GHSA-9v83-v857-2xf8Query and LiveQuery subscription constraints disclose the auth data and session token of a userHigh 8.2 19 Nov 2026
- CVE-2026-130671Parse Server before 8.6.119 and 9.x before 9.10.8-alpha.3 LiveQuery Missing AuthorizationMedium 6.3 18 Nov 2026
- GHSA-f92h-3w9f-hg55LiveQuery discloses MFA secrets and auth data that an auth adapter hides to a subscription of the user itselfMedium 5.9 17 Nov 2026
- GHSA-43rg-r2xr-q686Login with auth data discloses MFA secrets and user fields that the user is not allowed to readMedium 5.9 14 Nov 2026
- CVE-2026-126392Parse Server 9.10.6-alpha.1 before 9.10.8-alpha.1 Information Disclosure via Dot Notation UpdateLow 2.3 13 Nov 2026
- GHSA-f6wh-8wcf-xfv8LiveQuery subscription with a large list constraint can block the event loopHigh 8.2 11 Nov 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-31868
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-31868
- GitHub Advisory Database https://github.com/advisories/GHSA-v5hf-f4c3-m5rv
- github.com https://github.com/parse-community/parse-server/security/advisories/GHSA-v5hf-f4c3-m5rv