# CVE-2024-21534: JSONPath Plus Remote Code Execution (RCE) Vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 9.02%, higher than 95% of CVEs (2026-12-01)
- Published: 2024-10-11T05:00:01.824Z
- Modified: 2026-09-10T03:50:19.926Z
- Also known as: GHSA-pppg-cpfq-h7wr
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: snyk

## 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).

(As written by CVE List.)

## Affected

- jsonpath-plus: before *
- org.webjars.npm:jsonpath-plus: before *
- jsonpath-plus jsonpath: before 10.0.7
- jsonpath-plus (npm): before 10.2.0
- org.webjars.npm:jsonpath-plus (Maven): up to 6.0.1

## Every score

- snyk: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884> (web)
- <https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8185019> (web)
- <https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0> (web)
- <https://github.com/JSONPath-Plus/JSONPath/issues/226> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21534> (advisory)
- <https://github.com/JSONPath-Plus/JSONPath/issues/226#issuecomment-2424230316> (web)
- <https://github.com/JSONPath-Plus/JSONPath/pull/233> (web)
- <https://github.com/JSONPath-Plus/JSONPath/commit/6b2f1b4c234292c75912b790bf7e2d7339d4ccd3> (web)
- <https://github.com/JSONPath-Plus/JSONPath/commit/73ad72e5ee788d8287dea6e8283a3f16f63c9eb8> (web)
- <https://github.com/JSONPath-Plus/JSONPath/commit/b70aa713553caf838a63bac923195a5bc541fd72> (web)
- <https://github.com/JSONPath-Plus/JSONPath> (package)

## Sources

- CVE List: [CVE-2024-21534](https://www.cve.org/CVERecord?id=CVE-2024-21534), CVE Terms of Use, modified 2024-11-18
- GitHub Advisory Database: [GHSA-pppg-cpfq-h7wr](https://github.com/advisories/GHSA-pppg-cpfq-h7wr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-21534](https://nvd.nist.gov/vuln/detail/CVE-2024-21534), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21534 · Whole record: https://cve.day/CVE-2024-21534.json · Rebuilt by cve.day 2026-11-25T22:58:46.644Z
