Skip to main content

CVE-2024-21534 — Vulnerability in jsonpath-plus — CVE Details

CRITICAL

JSONPath Plus Remote Code Execution (RCE) Vulnerability

Published October 11, 2024Updated September 10, 2026Source: OSV

What Should I Do?

Low-to-Moderate Risk

Exploitation probability is 10.41% in 30 days. Address in your next planned sprint.

Does your project use an affected org.webjars.npm:jsonpath-plus version?

Paste your pom.xml to check it for CVE-2024-21534 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Versions of the package jsonpath-plus before 10.0.7 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

Advisory Timeline

  • First published October 11, 2024 (776 days ago).
  • Last revised September 10, 2026 — 699 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update jsonpath-plus to 10.2.0 or later
npm install jsonpath-plus@10.2.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 2 ecosystems: Maven (1), npm (1).

PackageFixed In
org.webjars.npm:jsonpath-plus Maven · Affected: 3.0.0, 4.0.0, 6.0.1Range-based data available
jsonpath-plus npm · Affected: All versions10.2.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-21534?
JSONPath Plus Remote Code Execution (RCE) Vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2024-21534?
CVE-2024-21534 affects org.webjars.npm:jsonpath-plus and jsonpath-plus. It has a 10.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-21534 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
10.41%
EPSS percentile: 96.5

This places it in the top 5% of EPSS-scored vulnerabilities — 96.5% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-pppg-cpfq-h7wr

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml