{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-83606","id":"CVE-2026-83606","title":"xmldom PI grammar regex ReDoS: quadratic backtracking on unterminated processing instructions","description":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0-beta.9 until 0.9.11, the processing-instruction production in lib/grammar.js lets the greedy S+ separator and lazy Char*? data group repeatedly repartition a long whitespace tail when the required closing ?> is absent. Both parsePI and parseProcessingInstruction apply the expression","descriptionLong":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0-beta.9 until 0.9.11, the processing-instruction production in lib/grammar.js lets the greedy S+ separator and lazy Char*? data group repeatedly repartition a long whitespace tail when the required closing ?> is absent. Both parsePI and parseProcessingInstruction apply the expression to the entire remaining source, causing quadratic backtracking during DOMParser.parseFromString() under default options and allowing a small unauthenticated XML input to stall the Node.js event loop. This issue is fixed in @xmldom/xmldom version 0.9.11.","published":"2026-09-01T14:21:27.215Z","updated":"2026-10-28T02:30:24.754678838Z","reserved":"2026-08-31T20:36:25.743Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.7,"vector":"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.7,"vector":"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.7,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"}],"rating":"high","products":["xmldom","@xmldom xmldom"],"affectedProducts":[{"vendor":"xmldom","product":"xmldom","defaultStatus":null,"versions":[{"version":">= 0.9.0-beta.9, < 0.9.11","status":"affected"}],"platforms":[]},{"vendor":"@xmldom","product":"xmldom","defaultStatus":null,"versions":[{"version":">= 0.9.0-beta.9, < 0.9.11","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","ranges":[">=0.9.0-beta.9 <0.9.11"],"fixed":["0.9.11"],"advisory":"GHSA-g53g-w8rj-fmg7"}],"cwes":["CWE-400","CWE-1333"],"aliases":["GHSA-g53g-w8rj-fmg7"],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-g53g-w8rj-fmg7","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/xmldom/xmldom/pull/1039","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/xmldom/xmldom/commit/73df6b8bdbd86f904b9e8c3ab9c49aa54ef2802e","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.9.11","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83606.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83606","tags":["advisory"]},{"url":"https://github.com/xmldom/xmldom","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00524,"epssPercentile":0.45192,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-83606","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83606","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-83606","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g53g-w8rj-fmg7","ok":true,"note":"GHSA-g53g-w8rj-fmg7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-83606","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}