CVE-2026-1615
CriticalCVSS 9.8Exploitation Probability (EPSS)
Elevated risk60th percentile - higher than 60% of all known CVEs
Summary
The jsonpath library before version 1.3.0 is vulnerable to Remote Code Execution (RCE) in Node.js environments and Cross-site Scripting (XSS) in browsers. The vulnerability stems from unsafe use of the static-eval module to process JSON Path expressions, allowing an attacker to inject arbitrary JavaScript code. This affects all methods that evaluate JSON Paths, including .query, .nodes, .paths, .value, .parent, and .apply.
Risk Assessment
An attacker can take control of a Node.js server or steal user data by injecting malicious JavaScript code into JSON Path expressions. The risk includes full system compromise in case of RCE and session or data theft in case of XSS.
Recommendation
Immediately update the jsonpath library to version 1.3.0 or later. If an update is not possible, implement input validation and sanitization for JSON Path expressions and avoid processing untrusted expressions.
Original NVD description (English source)
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.

