CVE-2024-21534
JSONPath Plus Remote Code Execution (RCE) Vulnerability
Also known as GHSA-pppg-cpfq-h7wr
Mitigation
- Upgrade jsonpath-plus to 10.2.0 or later.
Who should check
- Projects that depend on npm package jsonpath-plus (< 10.2.0)
- Projects that depend on Maven package org.webjars.npm:jsonpath-plus (<= 6.0.1)
- Anyone running jsonpath-plus < *
- Anyone running org.webjars.npm:jsonpath-plus < *
Vulnerability facts
- Affected
- jsonpath-plus < 10.2.0; org.webjars.npm:jsonpath-plus <= 6.0.1
- Fixed in
- 10.2.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:POpen in CVSS calculator
Show all 9 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- E: P
- EPSS
- 10.41% chance of exploitation in 30 days (percentile 96, 2026-11-26)
- CWE
- CWE-94
- Modified
Description
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).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm jsonpath-plus | < 10.2.0 | 10.2.0 | osv |
| Maven org.webjars.npm:jsonpath-plus | <= 6.0.1 | — | osv |
| jsonpath-plus | < * | — | cvelist |
| org.webjars.npm:jsonpath-plus | < * | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-21534. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-21534.md Affected: jsonpath-plus < 10.2.0; org.webjars.npm:jsonpath-plus <= 6.0.1 Fixed in: 10.2.0 Steps: 1. Search this machine and project for jsonpath-plus (npm), org.webjars.npm:jsonpath-plus (Maven), jsonpath-plus, org.webjars.npm:jsonpath-plus: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/JSONPath-Plus/JSONPath/pull/233
- https://github.com/JSONPath-Plus/JSONPath/commit/6b2f1b4c234292c75912b790bf7e2d7339d4ccd3
- https://github.com/JSONPath-Plus/JSONPath/commit/73ad72e5ee788d8287dea6e8283a3f16f63c9eb8
- https://github.com/JSONPath-Plus/JSONPath/commit/b70aa713553caf838a63bac923195a5bc541fd72
Other
- https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8185019
- https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0
- https://github.com/JSONPath-Plus/JSONPath/issues/226
- https://github.com/JSONPath-Plus/JSONPath/issues/226#issuecomment-2424230316
- https://github.com/JSONPath-Plus/JSONPath
FAQ
Is CVE-2024-21534 being exploited?
There is no confirmed exploitation: CVE-2024-21534 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 10.41% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-21534?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-21534?
jsonpath-plus < 10.2.0; org.webjars.npm:jsonpath-plus <= 6.0.1.
Is there a fix for CVE-2024-21534?
Yes. Fixed in 10.2.0. Upgrade jsonpath-plus to 10.2.0 or later.
How do I check if I'm affected by CVE-2024-21534?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.