p PatchFirst

CVE-2026-83617

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.7 · High · EPSS 0.6% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • xmldom

    Versions
    • >= 0.9.11, < 0.9.12: Affected

    No fix published

  • node-xmldom Debian:12

    Versions
    • 0.8.6-1
    • 0.9.10-1
    • 0.9.10-2
    • 0.9.11-1
    • 0.9.12-1
    • 0.9.5-1
    • 0.9.6-1
    • 0.9.8-1
    • 0.9.8-2
    • 0.9.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-xmldom Debian:13

    Versions
    • 0.9.10-1
    • 0.9.10-2
    • 0.9.11-1
    • 0.9.12-1
    • 0.9.6-1
    • 0.9.8-1
    • 0.9.8-2
    • 0.9.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-xmldom Debian:14

    Versions
    • 0.9.10-1
    • 0.9.10-2
    • 0.9.11-1
    • 0.9.6-1
    • 0.9.8-1
    • 0.9.8-2
    • 0.9.9-1
    Affected ranges
    • ECOSYSTEM: < 0.9.12-1

    Update to 0.9.12-1

  • @xmldom/xmldom npm

    Versions
    • 0.9.11
    Affected ranges
    • SEMVER: ≥ 0.9.11, < 0.9.12

    Update to 0.9.12

  • node-xmldom Ubuntu:20.04:LTS

    Versions
    • 0.1.27+ds-1
    • 0.1.27+ds-1+deb10u2build0.20.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-xmldom Ubuntu:22.04:LTS

    Versions
    • 0.5.0-1
    • 0.7.3-1
    • 0.7.5-1
    • 0.7.5-1ubuntu0.22.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-xmldom Ubuntu:24.04:LTS

    Versions
    • 0.8.6-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-xmldom Ubuntu:26.10

    Versions
    • 0.9.8-2
    • 0.9.10-2
    • 0.9.11-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-xmldom Ubuntu:26.04:LTS

    Versions
    • 0.9.6-1
    • 0.9.8-1
    • 0.9.8-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →