CVE-2026-30948
JSON

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 packageVersionsReported by
parse-community parse-server>= 9.0.0 < 9.5.2-alpha.4, < 8.6.17CVE List
parse-server (npm)from 9.0.0 before 9.5.2-alpha.4, before 8.6.17GitHub Advisory Database
parseplatform parse-serverbefore 8.6.17, from 9.0.0 before 9.5.2, 9.5.2NVD
parse (Bitnami)before 8.6.17, from 9.0.0 before 9.5.2Bitnami Vulnerability Database

All scores

GitHub_M8.3high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-79

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
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

Sources

SourceRecordLicence
CVE ListCVE-2026-30948 changed 2026-03-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-hcj7-6gxh-24ww changed 2026-03-14CC-BY-4.0
NVDCVE-2026-30948 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-PARSE-2026-30948 changed 2026-09-08Apache-2.0