CVE-2026-83612

Source
https://cve.org/CVERecord?id=CVE-2026-83612
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-83612.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-83612
Aliases
  • GHSA-6mj3-qw4j-hgrw
Downstream
Published
2026-09-01T14:36:23.638Z
Modified
2026-09-03T03:48:17.120474792Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
xmldom: HTML raw-text closing-tag case mismatch causes output amplification
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/83xxx/CVE-2026-83612.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-178",
        "CWE-400"
    ]
}
References

Affected packages

Git / github.com/xmldom/xmldom

Affected ranges

Type
GIT
Repo
https://github.com/xmldom/xmldom
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0.9.0-beta.1"
        },
        {
            "fixed": "0.9.12"
        }
    ]
}

Affected versions

0.*
0.9.0
0.9.0-beta.1
0.9.0-beta.10
0.9.0-beta.11
0.9.0-beta.2
0.9.0-beta.3
0.9.0-beta.4
0.9.0-beta.5
0.9.0-beta.6
0.9.0-beta.7
0.9.0-beta.8
0.9.0-beta.9
0.9.1
0.9.10
0.9.11
0.9.2
0.9.3
0.9.4
0.9.5
0.9.6
0.9.7
0.9.8
0.9.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-83612.json"