CVE-2026-83617
published high CVSS 4.0 · 8.7xmldom: requireWellFormed element/attribute name validation is bypassable via an embedded line terminator
Package status and fixes
Description
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. From 0.9.11 until 0.9.12, the requireWellFormed: true element and attribute name checks use the anchored QName_exact expression produced by reg() in lib/grammar.js, which inherits the multiline flag. A name with a valid first line followed by U+000A, U+000D, U+2028, or U+2029 and breakout markup therefore passes validation and is emitted verbatim in element start and end tags or attribute names. This bypasses the strict-serialization checks introduced for the earlier element-name and attribute-name injection advisories, while the default serialization path remains outside the strict guarantee. This issue is fixed in @xmldom/xmldom version 0.9.12.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xmldom | xmldom | >= 0.9.11, < 0.9.12 (affected) | GitHub_M · cna |
| @xmldom | xmldom | >= 0.9.11, < 0.9.12 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-91 CWE-91: XML Injection (aka Blind XPath Injection)
- CWE-625 CWE-625: Permissive Regular Expression
References
4Provider assertions
2GitHub_M · cna
xmldom: requireWellFormed element/attribute name validation is bypassable via an embedded line terminator
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3f9a3db04b9ea984530b614545cc465b6d68203dd5876fa1b9b2dce00f186a33
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record