原始 OSV JSON{
"id": "GHSA-86vw-mfpg-wwv9",
"aliases": [
"CVE-2026-52746"
],
"details": "### Impact\nBefore JSONata `2.2.0` and `1.8.9`, it is possible to craft non-matching inputs to the [$toMillis](https://docs.jsonata.org/date-time-functions#tomillis) function that cause superlinear backtracking in the ISO-8601 validation regex. This may lead to denial of service in applications that evaluate user-provided JSONata expressions.\n\n### Patches\nThis issue has been addressed in JSONata version 2.2.0 or later, and 1.8.9 or later on v1, via fixes that include https://github.com/jsonata-js/jsonata/pull/782 and https://github.com/jsonata-js/jsonata/pull/793. Applications that evaluate user-provided expressions should update ASAP to prevent exploitation.\n\n### References\nhttps://github.com/jsonata-js/jsonata/releases/tag/v2.2.0\nhttps://github.com/jsonata-js/jsonata/releases/tag/v1.8.9\n\n### Credit\nThank you to Doruk Tan Öztürk for disclosing this issue.",
"summary": "jsonata: Malicious inputs to \"$toMillis\" function can cause resource exhaustion",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.2.0"
}
]
}
],
"package": {
"name": "jsonata",
"ecosystem": "npm"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.9"
}
]
}
],
"package": {
"name": "jsonata",
"ecosystem": "npm"
}
}
],
"modified": "2026-08-03T20:49:57Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"published": "2026-07-02T20:13:55Z",
"references": [
{
"url": "https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52746",
"type": "ADVISORY"
},
{
"url": "https://github.com/jsonata-js/jsonata/pull/782",
"type": "WEB"
},
{
"url": "https://github.com/jsonata-js/jsonata/pull/793",
"type": "WEB"
},
{
"url": "https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686",
"type": "WEB"
},
{
"url": "https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b",
"type": "WEB"
},
{
"url": "https://github.com/jsonata-js/jsonata",
"type": "PACKAGE"
},
{
"url": "https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9",
"type": "WEB"
},
{
"url": "https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-1333"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-07-17T19:17:16Z",
"github_reviewed_at": "2026-07-02T20:13:55Z"
}
}