Description
JSONata is a JSON query and transformation language. Prior to 2.2.0, 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.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-1333 — CWE-1333: Inefficient Regular Expression Complexity
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jsonata-js | jsonata | < 2.2.0 |
References
- https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9 (x_refsource_CONFIRM)
- https://github.com/jsonata-js/jsonata/pull/782 (x_refsource_MISC)
- https://github.com/jsonata-js/jsonata/pull/793 (x_refsource_MISC)
- https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686 (x_refsource_MISC)
- https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b (x_refsource_MISC)
- https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0 (x_refsource_MISC)
Generated from the official CVE List on 18 Jul 2026 07:00 UTC.