CRITICALCVE-2026-1615Published Modified CNA snyk
CVE-2026-1615: Versions of the package jsonpath before 1
Versions of the package jsonpath before 1.3.0 are vulnerable to Arbitrary Code Injection via unsafe evaluation of user-supplied JSON Path expressions. The library relies on the static-eval module to process JSON Path input, which is not designed to handle untrusted data safely. An attacker can exploit this vulnerability by supplying a malicious JSON Path expression that, when evaluated, executes arbitrary JavaScript code, leading to Remote Code Execution in Node.js environments or Cross-site Scripting (XSS) in browser contexts. This affects all methods that evaluate JSON Paths against objects, including .query, .nodes, .paths, .value, .parent, and .apply.
Metrics
- CVSS v4.0
- 9.2
- Severity
- CRITICAL
- Fixed in
- *
- Affected Products
- 2
Fix available
*1.3.0
Affected packages
- n/a / jsonpath< 1.3.0 (from 0)
- n/a / org.webjars.npm:jsonpath< * (from 0)
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P