A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
xmldom has critical vulnerabilities — do not use
Update to >= 0.9.10 to fix known vulnerabilities
| Severity | ID | Summary | Fixed in |
|---|---|---|---|
| high | CVE-2026-83608 | xmldom: DocType `name` Injection Bypasses requireWellFormed | 0.9.12 |
| high | CVE-2026-41673 | xmldom: Uncontrolled recursion in XML serialization leads to DoS | 0.9.10 |
| high | CVE-2026-83605 | xmldom: Attribute name injection via setAttribute() bypasses requireWellFormed | 0.8.14 |
| medium | CVE-2021-32796 | Misinterpretation of malicious XML input | 0.7.0 |
| medium | CVE-2026-83610 | xmldom: XML fragment injection via invalid EntityReference.nodeName during requireWellFormed serialization | 0.9.12 |
| medium | CVE-2026-83611 | xmldom: Parser silently accepts a not-well-formed end tag whose name is followed by a line break and trailing content | 0.9.12 |
| high | CVE-2026-83613 | xmldom: Quadratic-time attribute deduplication | 0.9.12 |
| high | CVE-2026-83614 | xmldom: Quadratic-time parsing via the malformed-input recovery path — `parseElementStartPart` re-scan and `normalize()` adjacent-text merge | 0.9.12 |
| high | CVE-2026-83615 | xmldom: Quadratic-memory consumption | 0.9.12 |
| high | CVE-2026-83616 | xmldom: Processing Instruction Target Injection Bypasses requireWellFormed | 0.9.12 |
| critical | CVE-2022-39353 | xmldom allows multiple root nodes in a DOM | 0.9.0-beta.4 |
| high | CVE-2026-41674 | xmldom has XML injection through unvalidated DocumentType serialization | 0.9.10 |
| high | CVE-2026-41672 | xmldom has XML node injection through unvalidated comment serialization | 0.9.10 |
| high | CVE-2026-83607 | xmldom: Element name injection via createElement() bypasses requireWellFormed | 0.8.14 |
| high | CVE-2026-34601 | xmldom: XML injection via unsafe CDATA serialization allows attacker-controlled markup insertion | 0.9.9 |
| high | CVE-2026-41675 | xmldom has XML node injection through unvalidated processing instruction serialization | 0.9.10 |
@types/xmldom (DefinitelyTyped)Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/npm/xmldomFirst published · 2012-01-06T09:49:36.833Z
Last updated · 2021-04-17T16:41:51.033Z