VDB
KO
MEDIUM 5.3

GHSA-h29g-q5c2-9h4f

Parse Server email verification resend page leaks user existence

Details

### Impact

The Pages route and legacy PublicAPI route for resending email verification links return distinguishable responses depending on whether the provided username exists and has an unverified email. This allows an unauthenticated attacker to enumerate valid usernames by observing different redirect targets. The existing `emailVerifySuccessOnInvalidEmail` configuration option, which is enabled by default and protects the API route against this, did not apply to these routes.

### Patches

The email verification resend routes now respect the `emailVerifySuccessOnInvalidEmail` option. When set to `true` (the default), both routes redirect to the success page regardless of the outcome, preventing user enumeration.

### Workarounds

There is no known workaround to prevent the information disclosure other than upgrading.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / parse-server
Introduced in: 9.0.0 Fixed in: 9.6.0-alpha.40
Fix npm install parse-server@9.6.0-alpha.40
npm / parse-server
Introduced in: 0 Fixed in: 8.6.51
Fix npm install parse-server@8.6.51

References