Input validation error in parse-server - CVE-2022-39231
Published: September 20, 2022 / Updated: May 23, 2026
parse-server
Detailed vulnerability description
The vulnerability allows a remote user to bypass app ID validation during authentication.
The vulnerability exists due to improper input validation in the Facebook and Spotify authentication adapters when processing authentication requests with the server-side appIds configuration set as a string instead of an array of strings. A remote user can authenticate using a Facebook or Spotify app with a different app ID than the configured one to bypass app ID validation during authentication.
Exploitation requires that authentication through the Facebook or Spotify adapter is enabled and that the assigned app ID from the authentication provider is a subset of the configured app ID.