Vulnerability Details CVE-2022-39353
xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) `DOMParser` and `XMLSerializer` module. xmldom parses XML that is not well-formed because it contains multiple top level elements, and adds all root nodes to the `childNodes` collection of the `Document`, without reporting any error or throwing. This breaks the assumption that there is only a single root node in the tree, which led to issuance of CVE-2022-39299 as it is a potential issue for dependents. Update to @xmldom/xmldom@~0.7.7, @xmldom/xmldom@~0.8.4 (dist-tag latest) or @xmldom/xmldom@>=0.9.0-beta.4 (dist-tag next). As a workaround, please one of the following approaches depending on your use case: instead of searching for elements in the whole DOM, only search in the `documentElement`or reject a document with a document that has more then 1 `childNode`.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.011
EPSS Ranking 76.7%
CVSS Severity
CVSS v3 Score 9.4
Products affected by CVE-2022-39353
-
cpe:2.3:a:xmldom_project:xmldom:-
-
cpe:2.3:a:xmldom_project:xmldom:0.1.0
-
cpe:2.3:a:xmldom_project:xmldom:0.1.1
-
cpe:2.3:a:xmldom_project:xmldom:0.1.10
-
cpe:2.3:a:xmldom_project:xmldom:0.1.11
-
cpe:2.3:a:xmldom_project:xmldom:0.1.12
-
cpe:2.3:a:xmldom_project:xmldom:0.1.13
-
cpe:2.3:a:xmldom_project:xmldom:0.1.14
-
cpe:2.3:a:xmldom_project:xmldom:0.1.15
-
cpe:2.3:a:xmldom_project:xmldom:0.1.16
-
cpe:2.3:a:xmldom_project:xmldom:0.1.17
-
cpe:2.3:a:xmldom_project:xmldom:0.1.18
-
cpe:2.3:a:xmldom_project:xmldom:0.1.19
-
cpe:2.3:a:xmldom_project:xmldom:0.1.2
-
cpe:2.3:a:xmldom_project:xmldom:0.1.20
-
cpe:2.3:a:xmldom_project:xmldom:0.1.21
-
cpe:2.3:a:xmldom_project:xmldom:0.1.22
-
cpe:2.3:a:xmldom_project:xmldom:0.1.24
-
cpe:2.3:a:xmldom_project:xmldom:0.1.25
-
cpe:2.3:a:xmldom_project:xmldom:0.1.26
-
cpe:2.3:a:xmldom_project:xmldom:0.1.27
-
cpe:2.3:a:xmldom_project:xmldom:0.1.29
-
cpe:2.3:a:xmldom_project:xmldom:0.1.3
-
cpe:2.3:a:xmldom_project:xmldom:0.1.30
-
cpe:2.3:a:xmldom_project:xmldom:0.1.31
-
cpe:2.3:a:xmldom_project:xmldom:0.1.4
-
cpe:2.3:a:xmldom_project:xmldom:0.1.5
-
cpe:2.3:a:xmldom_project:xmldom:0.1.6
-
cpe:2.3:a:xmldom_project:xmldom:0.1.7
-
cpe:2.3:a:xmldom_project:xmldom:0.1.8
-
cpe:2.3:a:xmldom_project:xmldom:0.1.9
-
cpe:2.3:a:xmldom_project:xmldom:0.2.0
-
cpe:2.3:a:xmldom_project:xmldom:0.2.1
-
cpe:2.3:a:xmldom_project:xmldom:0.3.0
-
cpe:2.3:a:xmldom_project:xmldom:0.4.0
-
cpe:2.3:a:xmldom_project:xmldom:0.5.0
-
cpe:2.3:a:xmldom_project:xmldom:0.7.0
-
cpe:2.3:a:xmldom_project:xmldom:0.7.1
-
cpe:2.3:a:xmldom_project:xmldom:0.7.2
-
cpe:2.3:a:xmldom_project:xmldom:0.7.3
-
cpe:2.3:a:xmldom_project:xmldom:0.7.4
-
cpe:2.3:a:xmldom_project:xmldom:0.7.5
-
cpe:2.3:a:xmldom_project:xmldom:0.7.6
-
cpe:2.3:a:xmldom_project:xmldom:0.8.0
-
cpe:2.3:a:xmldom_project:xmldom:0.8.1
-
cpe:2.3:a:xmldom_project:xmldom:0.8.2
-
cpe:2.3:a:xmldom_project:xmldom:0.8.3
-
cpe:2.3:a:xmldom_project:xmldom:0.9.0
-
cpe:2.3:o:debian:debian_linux:10.0