# CVE-2025-1302: JSONPath Plus allows Remote Code Execution

- Severity: Critical 9.3 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 10.3%, higher than 95% of CVEs (2026-12-01)
- Published: 2025-02-15T05:00:01.061Z
- Modified: 2026-09-10T03:50:22.730Z
- Also known as: GHSA-hw8r-x6gr-5gjp
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: snyk

## Description

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](https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884).

(As written by CVE List.)

## Affected

- jsonpath-plus: before 10.3.0
- jsonpath-plus (npm): before 10.3.0

## Every score

- snyk: CVSS:4.0 9.3 Critical `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`
- snyk: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-8719585> (web)
- <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://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)

## Sources

- CVE List: [CVE-2025-1302](https://www.cve.org/CVERecord?id=CVE-2025-1302), CVE Terms of Use, modified 2025-02-18
- GitHub Advisory Database: [GHSA-hw8r-x6gr-5gjp](https://github.com/advisories/GHSA-hw8r-x6gr-5gjp), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-1302](https://nvd.nist.gov/vuln/detail/CVE-2025-1302), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-1302 · Whole record: https://cve.day/CVE-2025-1302.json · Rebuilt by cve.day 2026-11-25T22:58:54.120Z
