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.
Fix
Patch, vendor advisory and mitigation references on NVD 5
- https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686 Patch
- https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b Patch
- https://github.com/jsonata-js/jsonata/pull/782 Issue Tracking, Patch
- https://github.com/jsonata-js/jsonata/pull/793 Issue Tracking, Patch
- https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9 Patch, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · jsonataNVD modified 2026-10-24 20:10
Affected (CPE criteria) 1
cpe:2.3:a:jsonata:jsonata:*:*:*:*:*:*:*:*
References 7
- https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686 Patch
- https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b Patch
- https://github.com/jsonata-js/jsonata/pull/782 Issue Tracking, Patch
- https://github.com/jsonata-js/jsonata/pull/793 Issue Tracking, Patch
- https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9
- https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0 Product, Release Notes
- https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9 Patch, Vendor Advisory