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

CVE-2026-30948: Parse Server vulnerable to stored cross-site scripting (XSS) via SVG file upload

March 11, 2026

A stored cross-site scripting (XSS) vulnerability allows any authenticated user to upload an SVG file containing JavaScript. The file is served inline with Content-Type: image/svg+xml and without protective headers, causing the browser to execute embedded scripts in the Parse Server origin. This can be exploited to steal session tokens from localStorage and achieve account takeover.

The default fileExtensions option blocks HTML file extensions but does not block SVG, which is a well-known XSS vector. All Parse Server deployments where file upload is enabled for authenticated users (the default) are affected.

References

  • github.com/advisories/GHSA-hcj7-6gxh-24ww
  • github.com/parse-community/parse-server
  • github.com/parse-community/parse-server/releases/tag/8.6.17
  • github.com/parse-community/parse-server/releases/tag/9.5.2-alpha.4
  • github.com/parse-community/parse-server/security/advisories/GHSA-hcj7-6gxh-24ww
  • nvd.nist.gov/vuln/detail/CVE-2026-30948

Code Behaviors & Features

Detect and mitigate CVE-2026-30948 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.17, all versions starting from 9.0.0 before 9.5.2-alpha.4

Fixed versions

  • 9.5.2-alpha.4
  • 8.6.17

Solution

Upgrade to versions 8.6.17, 9.5.2-alpha.4 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/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-30948.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 18 Mar 2026 00:18:05 +0000.