Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. parse-server
  4. ›
  5. CVE-2026-31868

CVE-2026-31868: Parse Server vulnerable to stored XSS via file upload of HTML-renderable file types

March 11, 2026

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.

References

  • github.com/advisories/GHSA-v5hf-f4c3-m5rv
  • github.com/parse-community/parse-server
  • github.com/parse-community/parse-server/releases/tag/8.6.30
  • github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.4
  • github.com/parse-community/parse-server/security/advisories/GHSA-v5hf-f4c3-m5rv
  • nvd.nist.gov/vuln/detail/CVE-2026-31868

Code Behaviors & Features

Detect and mitigate CVE-2026-31868 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.6.30, all versions starting from 9.0.0-alpha.1 before 9.6.0-alpha.4

Fixed versions

  • 9.6.0-alpha.4
  • 8.6.30

Solution

Upgrade to versions 8.6.30, 9.6.0-alpha.4 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/parse-server/CVE-2026-31868.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:37 +0000.