Home / jsonpath-plus / jsonpath-plus / CVE-2024-21534
CVE-2024-21534: is it exploited, and which versions of jsonpath-plus are affected and fixed?
CVE-2024-21534 is a code injection (remote code execution) vulnerability in jsonpath-plus. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: jsonpath-plus before 10.2.0 and org.webjars.npm:jsonpath-plus through 6.0.1 (GitHub advisory GHSA-pppg-cpfq-h7wr). Fixed in 10.2.0 (GitHub advisory GHSA-pppg-cpfq-h7wr). Severity: Critical (9.8, CVSS 3.1, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:26 UTC.
What is 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).
From the CVE record by snyk, last updated November 18, 2024, 10:37 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| jsonpath-plus | all versions | ||
| org.webjars.npm:jsonpath-plus | all versions |
As the CVE record by snyk states it, last updated November 18, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | jsonpath-plus | < 10.2.0 | 10.2.0 | GHSA-pppg-cpfq-h7wr |
| Maven | org.webjars.npm:jsonpath-plus | <= 6.0.1 | none listed | GHSA-pppg-cpfq-h7wr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 6, 2025. Summary: JSONPath Plus Remote Code Execution (RCE) Vulnerability.
How severe is CVE-2024-21534?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P | snyk |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-21534 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, October 11, 2024)
- EPSS
- 9.02% probability of exploitation activity in the next 30 days, percentile 95.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- 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
Who found and reported it?
- Andrea Angelo Raineri (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 22, 2023
- Published
- October 11, 2024, 05:00 UTC
- CVE record updated
- November 18, 2024, 10:37 UTC by snyk
- NVD
- Deferred, last modified June 17, 2026, 07:09 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect jsonpath-plus?
- Feb 15, 2025CVE-2025-1302 jsonpath-plus: code injection (remote code execution)
Questions about CVE-2024-21534
Is CVE-2024-21534 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 9.02% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of jsonpath-plus are affected by CVE-2024-21534?
jsonpath-plus before 10.2.0 and org.webjars.npm:jsonpath-plus through 6.0.1, per the GitHub advisory GHSA-pppg-cpfq-h7wr. The tables above give every range the sources list.
Which version fixes CVE-2024-21534?
10.2.0, per the GitHub advisory GHSA-pppg-cpfq-h7wr. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-21534?
Critical (9.8, CVSS 3.1, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2024-21534?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.