CVE-2024-21534: Remote Code Execution in jsonpath-plus
CVE-2024-21534 is a remote code execution vulnerability in jsonpath-plus caused by improper input sanitization and unsafe use of the Node.js vm module during expression evaluation. Crafted JSONPath input can bypass evaluation restrictions and execute arbitrary code in the hosting Node.js environment. Remediation attempts in versions 10.0.0 through 10.1.0 remained exploitable using alternative payloads; version 10.2.0 is identified as a fixed npm release. Affected integrations include HCL Digital Experience 9.5 and bundled components in VMware Tanzu Platform and Red Hat OpenShift Dev Spaces.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows arbitrary code execution with the privileges of the application running jsonpath-plus. This can compromise application-accessible data, credentials, and other resources, permit unauthorized modifications, and disrupt service availability. The extent of host or infrastructure compromise depends on the application's permissions and isolation. HCL Digital Experience 9.5 is identified as exploitable by an unauthenticated attacker.
Mitigation
If you can’t patch tonight, do this now.
Prevent untrusted JSONPath expressions from reaching the evaluator and restrict evaluation to trusted, static expressions. Run affected services with least privilege and strong isolation, and restrict network exposure to reduce the consequences of exploitation. For HCL Digital Experience, temporarily deny requests whose paths contain graphql through the HAProxy configuration and apply the change using a Helm upgrade; equivalent blocking at a custom ingress can provide the same restriction. These controls do not replace installation of a fixed release.
Remediation
Patch, then assume compromise.
Upgrade the npm jsonpath-plus dependency to version 10.2.0 or later; versions 10.0.0 through 10.1.0 do not provide a complete fix. For bundled deployments, apply the relevant vendor update: Foundation Core for VMware Tanzu Platform 3.3.5, Red Hat OpenShift Dev Spaces 3.17, or an HCL Digital Experience cumulative fix containing DXQ-40422 when available. For the Maven WebJar org.webjars.npm:jsonpath-plus, versions through 6.0.1 are identified as affected, but no fixed WebJar version is specified; update or replace it with a verified non-vulnerable distribution.
Exploits
1 exploit validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2024-21534 exploited in the wild?
- As of Nov 6, 2026, Mallory has no reports of CVE-2024-21534 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-21534?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-21534, the earliest disclosed Nov 28, 2024.
- Is there a patch for CVE-2024-21534?
- Upgrade the npm jsonpath-plus dependency to version 10.2.0 or later; versions 10.0.0 through 10.1.0 do not provide a complete fix. For bundled deployments, apply the relevant vendor update: Foundation Core for VMware Tanzu Platform 3.3.5, Red Hat OpenShift Dev Spaces 3.17, or an HCL Digital Experience cumulative fix containing DXQ-40422 when available.
- How severe is CVE-2024-21534?
- CVE-2024-21534 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 9.0% (95th percentile) as of Nov 6, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.