2.1low
Parse Server: Stored XSS via trailing-dot filename bypassing file upload extension blocklist
- Severity
- 2.1low CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.28% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-7wqv-xjf3-x35vBIT-PARSE-2026-53724
Description
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to versions 8.6.79 and 9.9.1-alpha.4, the default file upload extension blocklist can be bypassed by appending a trailing dot to a filename whose extension would otherwise be blocked (e.g. poc.svg.). The trailing dot causes the extension parser to extract an empty string, which short-circuits the blocklist check, and the attacker-controlled Content-Type is forwarded to the storage adapter unchanged. Storage adapters that persist and serve the provided Content-Type (such as S3 or GCS) then serve the file with an active type such as image/svg+xml, enabling stored XSS when a victim opens the file URL. The default GridFS adapter is not affected because it sets X-Content-Type-Options: nosniff on responses. This issue has been patched in versions 8.6.79 and 9.9.1-alpha.4.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| parse-community parse-server | < 8.6.79, >= 9.0.0, < 9.9.1-alpha.4 | CVE List |
| parse-server (npm) | from 9.0.0 before 9.9.1-alpha.4, before 8.6.79 | GitHub Advisory Database |
| parse (Bitnami) | before 8.6.79, from 9.0.0 before 9.9.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 2.1low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N |
| Bitnami Vulnerability Database | low rating |
Classification
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 versions 8.6.79 and 9.9.1-alpha.4, the default file upload extension blocklist can be bypassed by appending a trailing dot to a filename whose extension would otherwise be blocked (e.g. poc.svg.). The trailing dot causes the extension parser to extract an empty string, which short-circuits the blocklist check, and the attacker-controlled Content-Type is forwarded to the storage adapter unchanged. Storage adapters that persist and serve the provided Content-Type (such as S3 or GCS) then serve the file with an active type such as image/svg+xml, enabling stored XSS when a victim opens the file URL. The default GridFS adapter is not affected because it sets X-Content-Type-Options: nosniff on responses. This issue has been patched in versions 8.6.79 and 9.9.1-alpha.4.
GitHub Advisory Database
Impact
The default file upload extension blocklist can be bypassed by appending a trailing dot to a filename whose extension would otherwise be blocked (e.g. poc.svg.). The trailing dot causes the extension parser to extract an empty string, which short-circuits the blocklist check, and the attacker-controlled Content-Type is forwarded to the storage adapter unchanged. Storage adapters that persist and serve the provided Content-Type (such as S3 or GCS) then serve the file with an active type such as image/svg+xml, enabling stored XSS when a victim opens the file URL. The default GridFS adapter is not affected because it sets X-Content-Type-Options: nosniff on responses.
Patches
A filename ending in a dot is now treated as extensionless. When the parser produces an empty extension, the request handler falls back to validating the Content-Type subtype against the configured extension blocklist, matching the path that already catches truly extensionless uploads with a dangerous Content-Type. This is a follow-up to the previous fix GHSA-vr5f-2r24-w5hc.
Workarounds
Configure the storage adapter or CDN to derive Content-Type from the filename extension instead of using the stored Content-Type, or replace the default blocklist with an explicit allowlist of needed file extensions.
NVD (es)
Parse Server es un backend de código abierto que puede implementarse en cualquier infraestructura que pueda ejecutar Node.js. Antes de las versiones 8.6.79 y 9.9.1-alpha.4, la lista negra de extensiones de carga de archivos predeterminada puede ser eludida añadiendo un punto final a un nombre de archivo cuya extensión de otro modo estaría bloqueada (p. ej., PoC.svg.). El punto final hace que el analizador de extensiones extraiga una cadena vacía, lo que cortocircuita la verificación de la lista negra, y el Content-Type controlado por el atacante se reenvía al adaptador de almacenamiento sin cambios. Los adaptadores de almacenamiento que persisten y sirven el Content-Type proporcionado (como S3 o GCS) luego sirven el archivo con un tipo activo como image/svg+xml, lo que permite XSS almacenado cuando una víctima abre la URL del archivo. El adaptador GridFS predeterminado no se ve afectado porque establece X-Content-Type-Options: nosniff en las respuestas. Este problema ha sido parcheado en las versiones 8.6.79 y 9.9.1-alpha.4.
Bitnami Vulnerability Database
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to versions 8.6.79 and 9.9.1, the default file upload extension blocklist can be bypassed by appending a trailing dot to a filename whose extension would otherwise be blocked (e.g. poc.svg.). The trailing dot causes the extension parser to extract an empty string, which short-circuits the blocklist check, and the attacker-controlled Content-Type is forwarded to the storage adapter unchanged. Storage adapters that persist and serve the provided Content-Type (such as S3 or GCS) then serve the file with an active type such as image/svg+xml, enabling stored XSS when a victim opens the file URL. The default GridFS adapter is not affected because it sets X-Content-Type-Options: nosniff on responses. This issue has been patched in versions 8.6.79 and 9.9.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53724 changed 2026-06-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7wqv-xjf3-x35v changed 2026-06-19 | CC-BY-4.0 |
| NVD | CVE-2026-53724 changed 2026-10-26 | Public domain |
| Bitnami Vulnerability Database | BIT-PARSE-2026-53724 changed 2026-06-19 | Apache-2.0 |