CVE-2026-52746Published Jul 17, 2026 · Jul 17Updated Oct 28
JSONata: Malicious inputs to "$toMillis" function can cause resource exhaustion
jsonata-js jsonata
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| jsonata npm |
|
|
Original description
JSONata is a JSON query and transformation language. Prior to 2.2.0 and 1.8.9, malicious non-matching inputs to the $toMillis function can cause superlinear backtracking in the ISO-8601 validation regex, leading to denial of service in applications that evaluate user-provided JSONata expressions. This issue is fixed in version 2.2.0 and 1.8.9.
From the CVE record · GitHub_M