CVE-2024-21534
published critical CVSS 3.1 · 9.8jsonpath-plus: Remote Code Execution in jsonpath-plus via Improper Input Sanitization
Package status and fixes
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | jsonpath-plus | 0 and later (affected · semver) | snyk · cna |
| n/a | org.webjars.npm:jsonpath-plus | 0 and later (affected · semver) | snyk · cna |
| jsonpath-plus | jsonpath | 0 to < 10.0.7 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-94 Remote Code Execution (RCE)
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4Provider assertions
2snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0e2cd4bb7101d594ee55a3a4daf1b6121a9095e503f0605ca589aa13a838f2f0
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record