Advisory

GHSA-7pr3-p5fm-8r9x

Also known as: BIT-parse-2021-41109, CVE-2021-41109

Summary

LiveQuery publishes user session tokens in parse-server

Details

Impact
For regular (non-LiveQuery) queries, the session token is removed from the response, but for LiveQuery payloads it is currently not. If a user has a LiveQuery subscription on the Parse.User class, all session tokens created during user sign-ups will be broadcast as part of the LiveQuery payload.

Patches
Remove session token from LiveQuery payload.

Workaround
Set user.acl(new Parse.ACL()) in a beforeSave trigger to make the user private already on sign-up.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-30 17:09 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

parse-server

npm · All systems

Affected

  • introduced 0, fixed 4.10.4 (semver)

Fixed versions

4.10.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences