{"id":"CVE-2026-83612","published":"2026-09-01T14:36:23Z","modified":"2026-09-01T15:30:10Z","title":"xmldom: HTML raw-text closing-tag case mismatch causes output amplification","vendor":"xmldom","product":"xmldom","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00524,"percentile":0.37789,"provenance":"source"},"cwes":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-6mj3-qw4j-hgrw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xmldom/xmldom/pull/1071","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/commit/7ced40c06c28d151e996a97045018c3559ae4707","tags":["x_refsource_MISC"]},{"url":"https://github.com/xmldom/xmldom/releases/tag/0.9.12","tags":["x_refsource_MISC"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":7.56},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"xmldom","affectedVersions":[{"vendor":"xmldom","product":"xmldom","versions":[">= 0.9.0-beta.1, < 0.9.12"]},{"vendor":"@xmldom","product":"xmldom","versions":[">= 0.9.0-beta.1, < 0.9.12"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-01T15:29:51.387992Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@xmldom/xmldom","vulnerableRanges":[">=0.9.0-beta.1, <0.9.12"],"patched":["0.9.12"],"from":["GHSA-6mj3-qw4j-hgrw"],"provenance":"source"}],"summary":{"text":"The xmldom DOMParser and XMLSerializer module, in its HTML-mode parsing via parseFromString() from 0.9.0-beta.1 through 0.9.12, mishandles mixed-case closing tags for the script, style, textarea, and title raw-text elements because its case-sensitive indexOf() lookup combined with a substring() call on a missing close tag causes unstable parser progression. An attacker who can supply a small text/html document to be parsed and serialized, with no authentication, network access, or user interaction required, can cause quadratic output amplification that consumes disproportionate CPU and memory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:57Z"},"euvd":{"id":"EUVD-2026-69227","exploited":false,"provenance":"source"}}