CVE-2025-1302
HIGH 8.9CVSS 4.0JSONPath Plus allows Remote Code Execution
Versions of the package jsonpath-plus before 10.3.0 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 eval='safe' mode.
Note:
This is caused by an incomplete fix for CVE-2024-21534.
- Published
- 15 Feb 2025
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-94
- Also known as
- GHSA-hw8r-x6gr-5gjp
- Sources
- NVDJSONOSV GHSA-hw8r-x6gr-5gjpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | HIGH 8.9 | 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/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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/E:P | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | jsonpath-plus | < 10.3.0 | 10.3.0 |
References
- https://gist.github.com/nickcopi/11ba3cb4fdee6f89e02e6afae8db6456 · WEB
- https://github.com/JSONPath-Plus/JSONPath/blob/8e4acf8aff5f446aa66323e12394ac5615c3b260/src/Safe-Script.js%23L127
- https://github.com/JSONPath-Plus/JSONPath/commit/30942896d27cb8a806b965a5ca9ef9f686be24ee · WEB
- https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-8719585 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21534 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-1302 · ADVISORY
- https://github.com/JSONPath-Plus/JSONPath · PACKAGE
- https://github.com/JSONPath-Plus/JSONPath/blob/8e4acf8aff5f446aa66323e12394ac5615c3b260/src/Safe-Script.js#L127 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 15 Feb 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Feb 2025)