CVE-2022-24760
JavaScript vulnerability analysis and mitigation

Overview

Parse Server, an open source http web server backend, contained a Remote Code Execution (RCE) vulnerability in versions prior to 4.10.7. The vulnerability affected Parse Server in the default configuration with MongoDB, stemming from Prototype Pollution vulnerable code in the DatabaseController.js file. This vulnerability was confirmed on both Linux (Ubuntu) and Windows systems (GitHub Advisory).

Technical details

The vulnerability (CVE-2022-24760) was rated as CRITICAL with a CVSS v3.1 Base Score of 10.0 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H). The main weakness was identified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) and CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component). The vulnerability allowed attackers to exploit prototype pollution to trigger remote code execution through the MongoDB BSON parser (NVD).

Impact

The vulnerability allowed remote attackers to execute arbitrary code on affected systems, potentially leading to complete system compromise. The issue affected both the MongoDB configuration and likely extended to Postgres and other database backends (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to Parse Server version 4.10.7 or later. A temporary workaround involves patching the MongoDB Node.js driver and disabling BSON code execution by adding specific code before starting Parse Server. The fix includes a new security feature that scans for sensitive keywords in request data to prevent JavaScript prototype pollution, with default keywords including {bsontype: 'Code'}, constructor, and _proto__ (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-62427HIGH8.7
  • JavaScriptJavaScript
  • @angular/ssr
NoYesOct 16, 2025
CVE-2025-53092MEDIUM6.5
  • JavaScriptJavaScript
  • @strapi/core
NoYesOct 16, 2025
CVE-2025-11849MEDIUM6.4
  • JavaScriptJavaScript
  • Mammoth
NoYesOct 17, 2025
CVE-2025-25298MEDIUM6.3
  • JavaScriptJavaScript
  • @strapi/core
NoYesOct 16, 2025
CVE-2025-62505LOW3
  • JavaScriptJavaScript
  • @lobehub/chat
NoYesOct 17, 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