CVE-2026-83617: xmldom: requireWellFormed element/attribute name validation is bypassable via an embedded line terminator

Published Sep 1, 2026
·
Updated

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 QNameexact 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.

Affected Software

1 affected component
npm/xmldom>=0.9.11<0.9.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade @xmldom/xmldom to a version that resolves this vulnerability.

    Fixed in 0.9.12

Event History

Sep 1, 2026
CVE Published
via MITRE·02:47 PM
Data Sourced
via MITRE·02:47 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this bypass?

Deployments using @xmldom/xmldom from 0.9.11 up to, but not including, 0.9.12 are affected when they rely on requireWellFormed: true for element or attribute name validation.

2

What input is needed to exploit the issue?

An attacker needs influence over an element or attribute name that is serialized. The name must contain a valid first line followed by U+000A, U+000D, U+2028, or U+2029 and breakout markup.

3

Is the default serialization configuration protected by this check?

No. The default serialization path remains outside the strict guarantee; the bypass specifically defeats the strict validation expected from requireWellFormed: true.

4

What is the remediation?

Upgrade @xmldom/xmldom to version 0.9.12, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203