Intel

AIKIDO-2026-11108

parse-server is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-7wqv-xjf3-x35v Published 4 days ago

37

Low Risk

This Affects:

JSparse-server
0.0.1 - 8.6.78
Fixed in 8.6.79
9.0.0 - 9.9.1-alpha.3
Fixed in 9.9.1-alpha.4
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

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.

How to fix this

Upgrade the parse-server library to the patch version.