CVEfocus › CVE database › CVE-2026-83612

CVE-2026-83612xmldom: HTML raw-text closing-tag case mismatch causes output amplification

CVSS 8.7 HighEPSS 0.5% (higher than 38% of CVEs)Published 2026-09-01Updated 2026-09-01Assigner: GitHub_M

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.

CWE-178CWE-400

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-xmldomFix pendingUBUNTU-CVE-2026-83612
Ubuntu 26.04node-xmldomUnder investigationUBUNTU-CVE-2026-83612
Ubuntu 24.04node-xmldomUnder investigationUBUNTU-CVE-2026-83612
Ubuntu 22.04node-xmldomUnder investigationUBUNTU-CVE-2026-83612
Ubuntu 20.04node-xmldomFix pendingUBUNTU-CVE-2026-83612
Debian 14node-xmldomFixed0.9.12-1DEBIAN-CVE-2026-83612
Debian 13node-xmldomFix pendingDEBIAN-CVE-2026-83612
Debian 12node-xmldomFix pendingDEBIAN-CVE-2026-83612
npm library@xmldom/xmldomFixed0.9.12GHSA-6mj3-qw4j-hgrw

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.