CVE-2026-52746
JSONata: Malicious inputs to "$toMillis" function can cause resource exhaustion
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-1333 |
| Vendor | jsonata-js |
| Product | jsonata |
| Published | Jul 17, 2026 |
| Last Updated | Jul 17, 2026 |
Stay Ahead of the Next One
Get instant alerts for jsonata-js jsonata
Be the first to know when new high vulnerabilities affecting jsonata-js jsonata are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
jsonata-js / jsonata
< 2.2.0
References
github.com: https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9 github.com: https://github.com/jsonata-js/jsonata/pull/782 github.com: https://github.com/jsonata-js/jsonata/pull/793 github.com: https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686 github.com: https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b github.com: https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0