---
title: "CVE-2024-21534: JSONPath Plus Remote Code Execution (RCE) Vulnerability"
url: https://erroneo.us/security/cve/CVE-2024-21534/
description: "CVE-2024-21534 (org.webjars.npm:jsonpath-plus (Maven)): All versions of the package jsonpath-plus are vulnerable to Remote Code Execution (RCE) due to…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-10-11
date_modified: 2025-02-06
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-21534"
kev: false
cvss: 9.3
epss: 0.09017
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 9.0% , percentile 95: FIRST’s model estimates a 9.0% chance of exploitation activity in the next 30 days, higher than 95% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes org.webjars.npm:jsonpath-plus (Maven) <= 6.0.1, no fixed version listed ; jsonpath-plus (npm) < 10.2.0, fixed in 10.2.0 . Check your lockfile, including transitive dependencies.

## What it is

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 but it could still be exploited using different payloads.

## Affected packages

- Maven `org.webjars.npm:jsonpath-plus` <= 6.0.1 → fixed: none listed
- npm `jsonpath-plus` < 10.2.0 → fixed: 10.2.0

## Affected products (CVE record)

- n/a jsonpath-plus: < *
- n/a org.webjars.npm:jsonpath-plus: < *

## Severity

- snyk CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub CVSS 4.0: 9.3 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 9.02% probability of exploitation activity in the next 30 days; percentile 95.

## Sources

- [GitHub Advisory GHSA-pppg-cpfq-h7wr](https://github.com/advisories/GHSA-pppg-cpfq-h7wr)
- [CVE.org record CVE-2024-21534](https://www.cve.org/CVERecord?id=CVE-2024-21534)
- [NVD entry CVE-2024-21534](https://nvd.nist.gov/vuln/detail/CVE-2024-21534)
- [security.snyk.io](https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884)
- [security.snyk.io](https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8185019)
- [github.com](https://github.com/JSONPath-Plus/JSONPath/compare/v9.0.0...v10.1.0)
- [github.com](https://github.com/JSONPath-Plus/JSONPath/issues/226)
- [github.com](https://github.com/JSONPath-Plus/JSONPath/commit/6b2f1b4c234292c75912b790bf7e2d7339d4ccd3)
- [github.com](https://github.com/JSONPath-Plus/JSONPath/commit/b70aa713553caf838a63bac923195a5bc541fd72)
- [github.com](https://github.com/JSONPath-Plus/JSONPath/issues/226#issuecomment-2424230316)
- [github.com](https://github.com/JSONPath-Plus/JSONPath/pull/233)
- [github.com](https://github.com/JSONPath-Plus/JSONPath/commit/73ad72e5ee788d8287dea6e8283a3f16f63c9eb8)

---
Source page: https://erroneo.us/security/cve/CVE-2024-21534/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
