6.3medium
Parse Server has Stored XSS via file upload of HTML-renderable file types
- Severity
- 6.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-v5hf-f4c3-m5rvBIT-PARSE-2026-31868
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.6.0-alpha.4 and 8.6.30, 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. This vulnerability is fixed in 9.6.0-alpha.4 and 8.6.30.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| parse-community parse-server | >= 9.0.0 < 9.6.0-alpha.4, < 8.6.30 | CVE List |
| parse-server (npm) | from 9.0.0-alpha.1 before 9.6.0-alpha.4, before 8.6.30 | GitHub Advisory Database |
| parseplatform parse-server | before 8.6.30, from 9.0.0 before 9.6.0, 9.6.0 | NVD |
| parse (Bitnami) | before 8.6.30, from 9.0.0 before 9.6.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium 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.6.0-alpha.4 and 8.6.30, 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. This vulnerability is fixed in 9.6.0-alpha.4 and 8.6.30.
GitHub Advisory Database
Impact
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.
Patches
The fix adds the missing file extensions and content types to the default value of the fileUpload.fileExtensions server option.
Workarounds
Configure the fileUpload.fileExtensions server option to block the affected file extensions and content types.
References
- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-v5hf-f4c3-m5rv
- Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.4
- Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.30
NVD (es)
Parse Server es un backend de código abierto que puede implementarse en cualquier infraestructura que pueda ejecutar Node.js. Antes de 9.6.0-alpha.4 y 8.6.30, un atacante puede subir un archivo con una extensión de archivo o tipo de contenido que no está bloqueado por la configuración predeterminada de la opción fileUpload.fileExtensions de Parse Server. El archivo puede contener código malicioso, por ejemplo JavaScript en un archivo SVG o XHTML. Cuando se accede al archivo a través de su URL, el navegador renderiza el archivo y ejecuta el código malicioso en el contexto del dominio de Parse Server. Esta es una vulnerabilidad de cross-site scripting (XSS) almacenado que puede ser explotada para robar tokens de sesión, redirigir usuarios o realizar acciones en nombre de otros usuarios. Las extensiones de archivo y tipos de contenido afectados incluyen .svgz, .xht, .xml, .xsl, .xslt, y los tipos de contenido application/xhtml+xml y application/xslt+xml para subidas sin extensión. La subida de archivos .html, .htm, .shtml, .xhtml y .svg ya estaba bloqueada. Esta vulnerabilidad está corregida en 9.6.0-alpha.4 y 8.6.30.
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.6.0 and 8.6.30, 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. This vulnerability is fixed in 9.6.0 and 8.6.30.
References
| https://github.com/parse-community/parse-server/security/advisories/GHSA-v5hf-f4c3-m5rv | advisory, mitigation, patch, vendor-advisory, web | |
| https://github.com/parse-community/parse-server/releases/tag/8.6.30 | article, product, release-notes, web | |
| https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.4 | article, product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-31868 | advisory, web | |
| https://github.com/parse-community/parse-server | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31868 changed 2026-03-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v5hf-f4c3-m5rv changed 2026-03-13 | CC-BY-4.0 |
| NVD | CVE-2026-31868 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-PARSE-2026-31868 changed 2026-09-08 | Apache-2.0 |