9.8critical
JSONPath Plus Remote Code Execution (RCE) Vulnerability
- Severity
- 9.8critical CVSS:3.1 by snyk
- Exploit likelihood
- 9.02% (higher than 95% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-pppg-cpfq-h7wr
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jsonpath-plus | before * | CVE List |
| org.webjars.npm:jsonpath-plus | before * | CVE List |
| jsonpath-plus jsonpath | before 10.0.7 | CVE List |
| jsonpath-plus (npm) | before 10.2.0 | GitHub Advisory Database |
| org.webjars.npm:jsonpath-plus (Maven) | up to 6.0.1 | GitHub Advisory Database |
All scores
| snyk | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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).
GitHub Advisory Database
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
NVD (es)
Las versiones del paquete jsonpath-plus anteriores a la 10.0.0 son vulnerables a la ejecución remota de código (RCE) debido a una desinfección de entrada incorrecta. Un atacante puede ejecutar código arbitrario en el sistema aprovechando el uso inseguro predeterminado de vm en Node. **Nota:** El comportamiento inseguro sigue estando disponible después de aplicar la corrección, pero no está activado de forma predeterminada.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21534 changed 2024-11-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pppg-cpfq-h7wr changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-21534 changed 2026-06-17 | Public domain |