npmWorst: Critical23 advisories
@xmldom/xmldom: known vulnerabilities
@xmldom/xmldom has 23 reviewed security advisories in the GitHub Advisory Database — 2 critical, 18 high, 3 moderate. The most recent was published 2026-09-01. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the @xmldom/xmldom versions running across your servers, containers and images, and ranks what to patch first.
How to fix @xmldom/xmldom
Upgrade @xmldom/xmldom to a release at or above the fixed version shown for each advisory below. For npm:
npm install @xmldom/xmldom@0.9.12 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (23)
xmldom: DocType `name` Injection Bypasses requireWellFormed
High CWE-91
— Affected: from 0.9.0 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-27p8-2357-5qqv · CVE-2026-83608
xmldom: Creation-time XML Name/QName validation is bypassable via an embedded line terminator, allowing injection on the default serialization path
High CWE-625 CWE-91
— Affected: from 0.9.0 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-3px3-54cx-rmw9 · CVE-2026-83609
xmldom: Attribute name injection via setAttribute() bypasses requireWellFormed
High CWE-91
— Affected: from 0.7.0 up to 0.8.14. Fixed in 0.8.14. Published 2026-09-01. GHSA-4w3w-2rp5-g8jm · CVE-2026-83605
xmldom: XML fragment injection via invalid EntityReference.nodeName during requireWellFormed serialization
Moderate CWE-116
— Affected: from 0.9.0 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-6gmq-8vp8-gcm6 · CVE-2026-83610
xmldom: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content
Moderate CWE-1286
— Affected: from 0.9.0 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-6h8r-xr42-gp59 · CVE-2026-83611
xmldom: HTML raw-text closing-tag case mismatch causes output amplification
High CWE-178 CWE-400
— Affected: from 0.9.0-beta.1 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-6mj3-qw4j-hgrw · CVE-2026-83612
xmldom: Quadratic-time attribute deduplication
High CWE-407
— Affected: from 0.9.0 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-8344-3jmq-59r6 · CVE-2026-83613
xmldom: Quadratic-time parsing via the malformed-input recovery path — `parseElementStartPart` re-scan and `normalize()` adjacent-text merge
High CWE-400 CWE-407
— Affected: from 0.9.0 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-93r5-fhx6-vmg9 · CVE-2026-83614
xmldom: Quadratic-memory consumption
High CWE-770
— Affected: from 0.9.0 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-965w-775f-mr7g · CVE-2026-83615
xmldom: Processing Instruction Target Injection Bypasses requireWellFormed
High CWE-91
— Affected: from 0.9.0 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-c7q8-3ch8-vqpv · CVE-2026-83616
xmldom PI grammar regex ReDoS: quadratic backtracking on unterminated processing instructions
High CWE-1333 CWE-400
— Affected: from 0.9.0-beta.9 up to 0.9.11. Fixed in 0.9.11. Published 2026-09-01. GHSA-g53g-w8rj-fmg7 · CVE-2026-83606
xmldom: requireWellFormed element/attribute name validation is bypassable via an embedded line terminator
High CWE-625 CWE-91
— Affected: from 0.9.11 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-jxjr-3g7g-3944 · CVE-2026-83617
xmldom: requireWellFormed DocType publicId/systemId validation is bypassable via an embedded line terminator
High CWE-625 CWE-91
— Affected: from 0.9.10 up to 0.9.12. Fixed in 0.9.12. Published 2026-09-01. GHSA-vr34-hp96-76pp · CVE-2026-83618
xmldom: Element name injection via createElement() bypasses requireWellFormed
High CWE-91
— Affected: from 0.7.0 up to 0.8.14. Fixed in 0.8.14. Published 2026-09-01. GHSA-w2rr-34g9-rvrj · CVE-2026-83607
xmldom: End-tag Whitespace-Trim Regex ReDoS — quadratic backtracking in the 0.8.x end-tag parser
High CWE-1333 CWE-400
— Affected: from 0.7.0 up to 0.8.15. Fixed in 0.8.15. Published 2026-09-01. GHSA-x4fp-j954-r2f4 · CVE-2026-83619
xmldom: Uncontrolled recursion in XML serialization leads to DoS
High CWE-674
— Affected: from 0.9.0 up to 0.9.10. Fixed in 0.9.10. Published 2026-05-07. GHSA-2v35-w6hq-6mfw · CVE-2026-41673
xmldom has XML injection through unvalidated DocumentType serialization
High CWE-91
— Affected: from 0.9.0 up to 0.9.10. Fixed in 0.9.10. Published 2026-05-07. GHSA-f6ww-3ggp-fr8h · CVE-2026-41674
xmldom has XML node injection through unvalidated comment serialization
High CWE-91
— Affected: from 0.9.0 up to 0.9.10. Fixed in 0.9.10. Published 2026-05-07. GHSA-j759-j44w-7fr8 · CVE-2026-41672
xmldom has XML node injection through unvalidated processing instruction serialization
High CWE-91
— Affected: from 0.9.0 up to 0.9.10. Fixed in 0.9.10. Published 2026-05-07. GHSA-x6wf-f3px-wcqx · CVE-2026-41675
xmldom: XML injection via unsafe CDATA serialization allows attacker-controlled markup insertion
High 7.5 CWE-91
— Affected: from 0.9.0 up to 0.9.9. Fixed in 0.9.9. Published 2026-04-02. GHSA-wh4c-j3r5-mjhp · CVE-2026-34601
xmldom allows multiple root nodes in a DOM
Critical 9.8 CWE-1288 CWE-20
— Affected: from 0.9.0-beta.1 up to 0.9.0-beta.4. Fixed in 0.9.0-beta.4. Published 2022-11-02. GHSA-crh6-fp67-6883 · CVE-2022-39353
Withdrawn: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in @xmldom/xmldom and xmldom
Critical 9.8 CWE-1321
— Affected: before 0.7.6. Fixed in 0.7.6. Published 2022-10-11. GHSA-9pgh-qqpf-7wqj · CVE-2022-37616
Misinterpretation of malicious XML input
Moderate 6.5 CWE-116
— Affected: before 0.7.0. Fixed in 0.7.0. Published 2021-07-27. GHSA-5fg8-2547-mr8q · CVE-2021-32796
Find @xmldom/xmldom across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.