8.3high
Parse Server has stored cross-site scripting (XSS) via SVG file upload
- Severity
- 8.3high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.35% (higher than 21% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-hcj7-6gxh-24wwBIT-PARSE-2026-30948
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| parse-community parse-server | >= 9.0.0 < 9.5.2-alpha.4, < 8.6.17 | CVE List |
| parse-server (npm) | from 9.0.0 before 9.5.2-alpha.4, before 8.6.17 | GitHub Advisory Database |
| parseplatform parse-server | before 8.6.17, from 9.0.0 before 9.5.2, 9.5.2 | NVD |
| parse (Bitnami) | before 8.6.17, from 9.0.0 before 9.5.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.3high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Patches
The fix adds svg (case-insensitive) to the default file extension denylist. The default regex changes from ^(?![xXsS]?[hH][tT][mM][lL]?$) to ^(?!([xXsS]?[hH][tT][mM][lL]?|[sS][vV][gG])$).
Workarounds
Configure the fileExtensions option to explicitly block SVG uploads:
{
fileUpload: {
fileExtensions: ['^(?!([xXsS]?[hH][tT][mM][lL]?|[sS][vV][gG])$)']
}
}
References
- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-hcj7-6gxh-24ww
- Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.5.2-alpha.4
- Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.17
NVD (es)
Parse Server es un backend de código abierto que puede ser desplegado en cualquier infraestructura que pueda ejecutar Node.js. Antes de las versiones 9.5.2-alpha.4 y 8.6.17, una vulnerabilidad de cross-site scripting (XSS) almacenado permite a cualquier usuario autenticado subir un archivo SVG que contiene JavaScript. El archivo se sirve en línea con Content-Type: image/svg+xml y sin encabezados de protección, haciendo que el navegador ejecute scripts incrustados en el origen de Parse Server. Esto puede ser explotado para robar tokens de sesión de localStorage y lograr la toma de control de la cuenta. La opción predeterminada fileExtensions bloquea las extensiones de archivo HTML pero no bloquea SVG, que es un vector XSS bien conocido. Todas las implementaciones de Parse Server donde la carga de archivos está habilitada para usuarios autenticados (el valor predeterminado) se ven afectadas. Esta vulnerabilidad está corregida en las versiones 9.5.2-alpha.4 y 8.6.17.
Bitnami Vulnerability Database
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.5.2 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 and 8.6.17.
References
| https://github.com/parse-community/parse-server/security/advisories/GHSA-hcj7-6gxh-24ww | advisory, mitigation, patch, vendor-advisory, web | |
| https://github.com/parse-community/parse-server/releases/tag/8.6.17 | article, product, release-notes, web | |
| https://github.com/parse-community/parse-server/releases/tag/9.5.2-alpha.4 | article, product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-30948 | advisory, web | |
| https://github.com/parse-community/parse-server | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-30948 changed 2026-03-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hcj7-6gxh-24ww changed 2026-03-14 | CC-BY-4.0 |
| NVD | CVE-2026-30948 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-PARSE-2026-30948 changed 2026-09-08 | Apache-2.0 |