CVE-2022-39225
JavaScript vulnerability analysis and mitigation

Overview

Parse Server, an open source backend, was found to contain a session object vulnerability (CVE-2022-39225) that was disclosed on September 20, 2022. The vulnerability affects versions <4.10.15 and >=5.0.0 <5.2.6 of the software. The issue allows a foreign user to write to the session object of another user if the session object ID is known (GitHub Advisory).

Technical details

The vulnerability allows an attacker to assign the session object to their own user by writing to the user field and then read any custom fields of that session object. The vulnerability only exists for foreign session objects, as a user cannot assign their own session to another user. While the session object ID of another user is typically not known, it is possible to brute-force guess an object ID, although the attacker would not know which user a successfully guessed session object ID belongs to (GitHub Advisory).

Impact

The vulnerability has a moderate severity rating with a CVSS score of 4.3. While assigning a session to a foreign user does not usually change the privileges of either user according to Parse Server's internal session object usage, if custom logic is used to relate specific session objects to privileges, this vulnerability may have a higher level of severity. The vulnerability does not allow a foreign user to assign a session object to themselves, read the session token, and then reassign the session object to the original user to authenticate as that user (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in versions >=4.10.15 <5.0.0 and >=5.2.6. The fix prevents writing to foreign session objects, even if the session object ID is known. As a workaround, administrators can add a beforeSave trigger to the _Session class and prevent writing if the requesting user is different from the user in the session object (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-8083HIGH8.6
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025
CVE-2025-67750HIGH8.4
  • JavaScriptJavaScript
  • lightning-flow-scanner
NoYesDec 12, 2025
CVE-2025-8082MEDIUM6.3
  • JavaScriptJavaScript
  • vuetify
NoYesDec 12, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management