CVE-2026-30948
CVE-2026-30948 · Parse Server has stored cross-site scripting (XSS) via SVG file upload
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.5.2-alpha.4 and 8.6.17, 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. This vulnerability is fixed in 9.5.2-alpha.4 and 8.6.17.
CVSS 8.3 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
parse-server
- Versions
- >= 9.0.0 < 9.5.2-alpha.4: Affected
- < 8.6.17: Affected
No fix published
parse-server npm
- Affected ranges
- SEMVER: ≥ 9.0.0, < 9.5.2-alpha.4
Update to 9.5.2-alpha.4
parse-server npm
- Affected ranges
- SEMVER: < 8.6.17
Update to 8.6.17