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.
Affected products
jsonata: jsonata
References7
- github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfp… PatchVendor Advisory
- github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b… Patch
- github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd2… Patch
- github.com/jsonata-js/jsonata/pull/782 Issue TrackingPatch
- github.com/jsonata-js/jsonata/pull/793 Issue TrackingPatch
- github.com/jsonata-js/jsonata/releases/tag/v1.8.9
- github.com/jsonata-js/jsonata/releases/tag/v2.2.0 ProductRelease Notes
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 53 · as of 14 November 2026
- CWE
- CWE-1333
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.