Impact
JSONata is a JSON query and transformation language that, prior to version 1.8.8 and 2.2.1, allowed crafted expressions to chain a series of object‑integrity weaknesses. By overwriting the internal $clone function, exposing and deconstructing API functions such as $merge.*, and manipulating internal lambda state, an attacker could reach prototype getters, constructor access, and even the built‑in child_process module. This chain of bugs enabled the execution of arbitrary code with the privileges of the host process.
Affected Systems
The vulnerability affects the jsonata-js:jsonata library in any installation using a version earlier than 1.8.8 or 2.2.1. Updated releases starting with 1.8.8 and 2.2.1 contain the fix.
Risk and Exploitability
The CVSS score of 9.3 indicates a critical severity, and no fixed exploit probability (EPSS) is currently published. The issue is not listed in CISA’s KEV catalog. The likely attack vector involves an attacker supplying a malicious JSONata expression to an application that evaluates expressions without proper validation, thereby executing arbitrary code on the host system.
OpenCVE Enrichment
Github GHSA