CVE-2025-1302 Details
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).
A remote code execution vulnerability exists in the jsonpath-plus package, affecting versions prior to 10.3.0. This vulnerability arises from inadequate input sanitization, allowing attackers to execute arbitrary code by exploiting the default 'safe' mode of eval, which is applied in a way that can be manipulated. The issue is exacerbated by an incomplete fix for a previous vulnerability (CVE-2024-21534).
Users are advised to upgrade jsonpath-plus to version 10.3.0 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 15, 2025CISA-ADP
Assessed Feb 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/nickcopi/11ba3cb4fdee6f89e02e6afae8db6456 | [email protected] | ExploitTechnical Analysis |
| https://github.com/JSONPath-Plus/JSONPath/blob/8e4acf8aff5f446aa66323e12394ac5615c3b260/src/Safe-Script.js%23L127 | [email protected] | Broken LinkSource CodeVendor |
| https://github.com/JSONPath-Plus/JSONPath/commit/30942896d27cb8a806b965a5ca9ef9f686be24ee | [email protected] | Source CodeVendor |
| https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-8719585 | [email protected] | AdvisoryExploitRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jsonpath-plus | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 15, 2025 | New CVE Received | [email protected] |
Volerion