All vulnerabilities

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.

From parse-community/parse-server's security advisory.

Workarounds

Configure the fileUpload.fileExtensions server option to block the affected file extensions and content types.

Workarounds as given by parse-community/parse-server's security advisory.

Affected software

SoftwareAffected versions
Parse ServerServers and applications · cpe:a:parseplatform:parse-server
  • Every version before 8.6.30
  • From 9.0.0 before 9.6.0
  • Version 9.6.0-alpha1
  • Version 9.6.0-alpha2
  • Version 9.6.0-alpha3
Parse ServerServers and applications · github:parse-community/parse-server
  • Every version before 8.6.30

About Parse Server

Parse Server for Node.js / Express

From its GitHub repository.
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

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