@xmldom/xmldom

A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.

0.9.12Latest, 21 Aug 2026
393MDownloads, last month
0Advisories on the latest
22Advisories, all versions
MITLicence
477Stars
7.6/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High xmldom: DocType `name` Injection Bypasses requireWellFormed CVE-2026-83608 Fixed in 0.8.15, 0.9.12 8 Sep 2026
High xmldom: Creation-time XML Name/QName validation is bypassable via an embedded line terminator, allowing injection on the default serialization path CVE-2026-83609 Fixed in 0.9.12 8 Sep 2026
High xmldom: Attribute name injection via setAttribute() bypasses requireWellFormed CVE-2026-83605 Fixed in 0.9.11, 0.8.14 8 Sep 2026
Moderate xmldom: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content CVE-2026-83611 Fixed in 0.8.15, 0.9.12 8 Sep 2026
High xmldom: HTML raw-text closing-tag case mismatch causes output amplification CVE-2026-83612 Fixed in 0.9.12 8 Sep 2026
High xmldom: Quadratic-time attribute deduplication CVE-2026-83613 Fixed in 0.8.15, 0.9.12 8 Sep 2026
High xmldom: Quadratic-time parsing via the malformed-input recovery path — `parseElementStartPart` re-scan and `normalize()` adjacent-text merge CVE-2026-83614 Fixed in 0.8.15, 0.9.12 8 Sep 2026
High xmldom: Quadratic-memory consumption CVE-2026-83615 Fixed in 0.8.15, 0.9.12 8 Sep 2026
High xmldom: Processing Instruction Target Injection Bypasses requireWellFormed CVE-2026-83616 Fixed in 0.8.15, 0.9.12 8 Sep 2026
High xmldom PI grammar regex ReDoS: quadratic backtracking on unterminated processing instructions CVE-2026-83606 Fixed in 0.9.11 8 Sep 2026
High xmldom: requireWellFormed element/attribute name validation is bypassable via an embedded line terminator CVE-2026-83617 Fixed in 0.9.12 8 Sep 2026
High xmldom: requireWellFormed DocType publicId/systemId validation is bypassable via an embedded line terminator CVE-2026-83618 Fixed in 0.9.12 8 Sep 2026
High xmldom: Element name injection via createElement() bypasses requireWellFormed CVE-2026-83607 Fixed in 0.9.11, 0.8.14 8 Sep 2026
High xmldom: End-tag Whitespace-Trim Regex ReDoS — quadratic backtracking in the 0.8.x end-tag parser CVE-2026-83619 Fixed in 0.8.15 8 Sep 2026
Moderate xmldom: XML fragment injection via invalid EntityReference.nodeName during requireWellFormed serialization CVE-2026-83610 Fixed in 0.8.15, 0.9.12 2 Sep 2026

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.