parse-server is vulnerable to Cross-Site Scripting (XSS)
37
Low Risk
Parse Server's file upload extension blocklist can be bypassed with a filename that ends in a trailing dot, such as poc.svg., which makes the extension parser return an empty string and skip validation. When the storage adapter persists the attacker-supplied Content-Type header, the file is later served with an active MIME type like image/svg+xml, enabling stored cross-site scripting. Exploitation requires an authenticated uploader and a victim who opens the served file. The fix treats trailing-dot filenames as extensionless and validates the Content-Type subtype against the blocklist instead.
You are affected if you are using a version that falls within the vulnerable range.
parse-server is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 8.6.78 and 9.0.0 - 9.9.1-alpha.3.
Upgrade the parse-server library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant