Skip to content

CVE-2026-53724 Parse Server: Stored XSS via trailing-dot filename bypassing file upload extension blocklist

LowCVSS 2.1 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm parse-server(npm) < 8.6.79; <= 8.6.78; >= 9.0.0, < 9.9.1-alpha.4 8.6.79, 9.9.1-alpha.4 Fixed
parse-community parse-server = < 8.6.79; = >= 9.0.0, < 9.9.1-alpha.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
parse-community parse-server = < 8.6.79 No fix listed
parse-community parse-server = >= 9.0.0, < 9.9.1-alpha.4 No fix listed
npm parse-server(npm) >= 9.0.0, < 9.9.1-alpha.4 9.9.1-alpha.4
npm parse-server(npm) <= 8.6.78 No fix listed
npm parse-server(npm) < 8.6.79 8.6.79

References