RCE in Jsonpath-Plus
CVE-2024-21534
All versions of the package jsonpath-plus are vulnerable to Remote Code Execution (RCE) due to improper input sanitization. An attacker can execute aribitrary code on the system by exploiting the unsafe default usage of vm in Node. **Note:** There were several attempts to fix it in versions [10.0.0-10.1.0](https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0) but it could still be exploited using [different payloads](https://github.com/JSONPath-Plus/JSONPath/issues/226).
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.090, 95.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Jsonpath-Plus — versions 0
- Org.webjars.npm:jsonpath-Plus — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
4 public repositories with exploit or proof-of-concept code for this CVE:
- verylazytech/cve-2024-21534 (4 stars, last pushed 2024-11-28): POC - CVE-2024-21534 Jsonpath-plus vulnerable to Remote Code Execution (RCE) due to improper input sanitization
- pabloopez/CVE-2024-21534 (1 star, last pushed 2024-11-27): Proof-of-concept (PoC) exploit for JSONPath-plus vulnerability
- BohemianHacks/CVE-2024-21534-poc (1 star, last pushed 2024-11-23)
- XiaomingX/cve-2024-21534-poc
Also mentioned in 7 other repositories (ARPSyndicate/cve-scores, EQSTLab/CVE-2025-1302, fkie-cad/nvd-json-data-feeds, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.