{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-83612","id":"CVE-2026-83612","title":"xmldom: HTML raw-text closing-tag case mismatch causes output amplification","description":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0-beta.1 until 0.9.12, HTML-mode parsing through DOMParser.parseFromString() mishandles a mixed-case closing tag for the script, style, textarea, or title raw-text elements. parseHtmlSpecialContent, selected by isHTMLRawTextElement or isHTMLEscapableRawTextElement, uses a case-sensiti","descriptionLong":"xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.0-beta.1 until 0.9.12, HTML-mode parsing through DOMParser.parseFromString() mishandles a mixed-case closing tag for the script, style, textarea, or title raw-text elements. parseHtmlSpecialContent, selected by isHTMLRawTextElement or isHTMLEscapableRawTextElement, uses a case-sensitive indexOf() and then calls substring() with a missing-close result of negative one, causing unstable parser progression and quadratic output amplification. A small untrusted text/html document can consequently consume disproportionate CPU and memory when parsed and serialized. This issue is fixed in @xmldom/xmldom version 0.9.12.","published":"2026-09-01T14:36:23.638Z","updated":"2026-10-28T02:30:28.575663710Z","reserved":"2026-08-31T20:36:25.744Z","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.1, < 0.9.12","status":"affected"}],"platforms":[]},{"vendor":"@xmldom","product":"xmldom","defaultStatus":null,"versions":[{"version":">= 0.9.0-beta.1, < 0.9.12","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","ranges":[">=0.9.0-beta.1 <0.9.12"],"fixed":["0.9.12"],"advisory":"GHSA-6mj3-qw4j-hgrw"}],"cwes":["CWE-178","CWE-400"],"aliases":["GHSA-6mj3-qw4j-hgrw"],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-6mj3-qw4j-hgrw","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/xmldom/xmldom/pull/1071","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/xmldom/xmldom/commit/7ced40c06c28d151e996a97045018c3559ae4707","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.9.12","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83612.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83612","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.45193,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-83612","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83612","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-83612","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6mj3-qw4j-hgrw","ok":true,"note":"GHSA-6mj3-qw4j-hgrw"},{"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-83612","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}