CVE-2026-61448
JSON

2.1low

Parse Server 9.0.0 Stored XSS via malformed Content-Type

Severity
2.1low CVSS:4.0 by VulnCheck
Exploit likelihood
0.41% (higher than 27% of CVEs)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-r899-h629-j84rBIT-PARSE-2026-61448

Description

Parse Server is affected by a stored cross-site scripting (XSS) vulnerability in versions >= 9.0.0, < 9.10.0-alpha.2 and <= 8.6.83. When an uploaded file's extension is not recognized by the mime package, Parse Server preserves the client-supplied Content-Type. A malformed Content-Type that is not a valid type/subtype media type (e.g., 'image', 'image/', or 'image//svg+xml') bypasses the fileUpload.fileExtensions blocklist and is stored unchanged. On storage adapters that persist and serve the uploaded Content-Type (such as Amazon S3, Google Cloud Storage, or Azure Blob Storage), a browser cannot parse the malformed value and falls back to MIME-sniffing; a file whose body begins with HTML is rendered as HTML, executing embedded script in the application's origin against other users who open the file URL. The default GridFS storage adapter is not affected. Fixed in 9.10.0-alpha.2 and 8.6.84.

Affected

Product or packageVersionsReported by
parse-community parse-serverfrom 9.0.0 before 9.10.0-alpha.2, before 8.6.84
Not affected: 9.10.0-alpha.2, 8.6.84
CVE List
parse-server (npm)from 9.0.0 before 9.10.0-alpha.2, before 8.6.84GitHub Advisory Database
parse (Bitnami)before 8.6.84, from 9.0.0 before 9.10.0Bitnami Vulnerability Database

All scores

VulnCheck2.1low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
GitHublow CVSS:4.0CVSS: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 Databaselow rating

Classification

CWE-434

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Parse Server is affected by a stored cross-site scripting (XSS) vulnerability in versions >= 9.0.0, < 9.10.0-alpha.2 and <= 8.6.83. When an uploaded file's extension is not recognized by the mime package, Parse Server preserves the client-supplied Content-Type. A malformed Content-Type that is not a valid type/subtype media type (e.g., 'image', 'image/', or 'image//svg+xml') bypasses the fileUpload.fileExtensions blocklist and is stored unchanged. On storage adapters that persist and serve the uploaded Content-Type (such as Amazon S3, Google Cloud Storage, or Azure Blob Storage), a browser cannot parse the malformed value and falls back to MIME-sniffing; a file whose body begins with HTML is rendered as HTML, executing embedded script in the application's origin against other users who open the file URL. The default GridFS storage adapter is not affected. Fixed in 9.10.0-alpha.2 and 8.6.84.

GitHub Advisory Database
Impact

Parse Server's file upload validation uses the fileUpload.fileExtensions option (enabled by default with a blocklist) to reject files that browsers may render as active content, mitigating stored cross-site scripting (XSS). When an uploaded file's extension is not recognized by the mime package, Parse Server preserves the client-supplied Content-Type and passes it to the storage adapter. A malformed Content-Type that is not a valid type/subtype media type — for example image (no subtype), image/ (empty subtype), or image//svg+xml (invalid token) — bypassed the blocklist and was stored unchanged. On storage adapters that persist and serve the uploaded Content-Type (such as Amazon S3, Google Cloud Storage, or Azure Blob Storage), a browser cannot parse the malformed Content-Type and falls back to MIME-sniffing the file content; a file whose body begins with HTML markup is then rendered as HTML, executing any embedded script in the application's origin. This allows a user permitted to upload files to store content that executes as script against other users who open the file URL. The default GridFS storage adapter is not affected, as it recomputes the Content-Type from the filename and serves files with X-Content-Type-Options: nosniff.

Patches

The file upload handler now validates that the client-supplied Content-Type is a well-formed media type (type/subtype with non-empty tokens per RFC 9110 §5.6.2) whenever the filename extension is not recognized by mime. Malformed values are rejected instead of being stored, while well-formed types — including custom or vendor types that the mime package does not recognize — continue to be accepted; only blocklisted subtypes are rejected.

Workarounds

Configure fileUpload.fileExtensions as a strict allowlist of only the extensions the application needs (for example ["^(png|jpe?g|gif|pdf)$"]). Additionally, serve uploaded files from a domain separate from the application so that any rendered content is isolated from the application's origin, and configure the storage/CDN layer to send X-Content-Type-Options: nosniff.

References
NVD (es)

Parse Server se ve afectado por una vulnerabilidad de cross-site scripting (XSS) almacenado en las versiones >= 9.0.0, anterior a 9.10.0-alpha.2 y menor o igual que 8.6.83. Cuando la extensión de un archivo subido no es reconocida por el paquete mime, Parse Server conserva el Content-Type proporcionado por el cliente. Un Content-Type malformado que no es un tipo de medio tipo/subtipo válido (p. ej., 'image', 'image/', o 'image//svg+xml') elude la lista de bloqueo fileUpload.fileExtensions y se almacena sin cambios. En los adaptadores de almacenamiento que persisten y sirven el Content-Type subido (como Amazon S3, Google Cloud Storage o Azure Blob Storage), un navegador no puede analizar el valor malformado y recurre al MIME-sniffing; un archivo cuyo cuerpo comienza con HTML se renderiza como HTML, ejecutando scripts incrustados en el origen de la aplicación contra otros usuarios que abren la URL del archivo. El adaptador de almacenamiento GridFS predeterminado no se ve afectado. Corregido en 9.10.0-alpha.2 y 8.6.84.

Bitnami Vulnerability Database

Parse Server is affected by a stored cross-site scripting (XSS) vulnerability in versions >= 9.0.0, < 9.10.0 and <= 8.6.83. When an uploaded file's extension is not recognized by the mime package, Parse Server preserves the client-supplied Content-Type. A malformed Content-Type that is not a valid type/subtype media type (e.g., 'image', 'image/', or 'image//svg+xml') bypasses the fileUpload.fileExtensions blocklist and is stored unchanged. On storage adapters that persist and serve the uploaded Content-Type (such as Amazon S3, Google Cloud Storage, or Azure Blob Storage), a browser cannot parse the malformed value and falls back to MIME-sniffing; a file whose body begins with HTML is rendered as HTML, executing embedded script in the application's origin against other users who open the file URL. The default GridFS storage adapter is not affected. Fixed in 9.10.0 and 8.6.84.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-61448 changed 2026-07-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-r899-h629-j84r changed 2026-10-29CC-BY-4.0
NVDCVE-2026-61448 changed 2026-10-24Public domain
Bitnami Vulnerability DatabaseBIT-PARSE-2026-61448 changed 2026-09-25Apache-2.0