{"id":"CVE-2026-83619","summary":"xmldom: End-tag Whitespace-Trim Regex ReDoS — quadratic backtracking in the 0.8.x end-tag parser","details":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.7.0 until 0.8.15, the release-0.8.x parser in lib/sax.js trims captured end-tag names with the unanchored global expression /[ \\t\\n\\r]+$/g. For an end tag containing a long whitespace run followed by a non-whitespace character, the expression retries from each possible starting position and backtracks quadratically before failing its end anchor. DOMParser.parseFromString() reaches the path under default options, allowing a small unauthenticated XML input to stall the Node.js event loop; the 0.9.x and unscoped npm lines do not contain this expression. This issue is fixed in @xmldom/xmldom version 0.8.15.","aliases":["GHSA-x4fp-j954-r2f4"],"modified":"2026-09-03T03:48:20.347154462Z","published":"2026-09-01T14:51:28.121Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83619.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-1333","CWE-400"]},"references":[{"type":"WEB","url":"https://github.com/xmldom/xmldom/releases/tag/0.8.15"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83619.json"},{"type":"ADVISORY","url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-x4fp-j954-r2f4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83619"},{"type":"FIX","url":"https://github.com/xmldom/xmldom/commit/3abb0934f5a8a84d83a1f9cde0f2bd04c08b2a09"},{"type":"FIX","url":"https://github.com/xmldom/xmldom/pull/1072"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xmldom/xmldom","events":[{"introduced":"c568938641cc1f121cef5b4df80fcfda1e489b6e"},{"fixed":"3abb0934f5a8a84d83a1f9cde0f2bd04c08b2a09"},{"fixed":"b5b8fb5b579ae1183b34e74b3bc39d7eb50a226a"}],"database_specific":{"extracted_events":[{"introduced":"0.7.0"},{"fixed":"0.8.15"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["0.8.14","0.8.13","0.8.12","0.8.11","0.8.10","0.8.9","0.8.8","0.8.7","0.8.6","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8.0","0.7.3","0.7.2","0.7.1","0.7.0+scoped","v0.7.0","0.7.0+unscoped","0.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-83619.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}