CVE-2024-21534jsonpath-plus jsonpath
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · jsonpath-plus · jsonpath-plus jsonpath We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 10.4% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Oct 11, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for jsonpath.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.webjars.npm:jsonpath-plus |
≤ 6.0.1 |
no fixed version | — |
| npm | jsonpath-plus |
< 10.2.0 |
10.2.0 |
npm install jsonpath-plus@10.2.0 |
Per OSV / GitHub Advisories (GHSA-pppg-cpfq-h7wr). Check the version in your lockfile before upgrading.
Affected products
- jsonpath-plus · jsonpath
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.