CVE-2022-39353: critical vulnerability in xmldom
xmldom allows multiple root nodes in a DOM
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
The xmldom library incorrectly parses malformed XML with multiple root elements instead of rejecting it, allowing all roots to be added to the document tree. This violates XML standards and can lead to security issues in applications that rely on a single root node.
xmldom's DOMParser accepts non-well-formed XML containing multiple top-level elements and adds them all to the Document's childNodes collection without error reporting. This violates W3C XML DOM Level 2 Core specification and breaks assumptions about single-root tree structure, creating potential attack surface for DOM traversal exploits in dependent applications.
In the same product, most dangerous first.