{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-39353","published":"2022-11-02T17:15:17.387000Z","last_modified":"2026-06-17T04:58:12.050000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20","CWE-1288"],"cpes":[{"criteria":"cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*","part":"a","vendor":"xmldom_project","product":"xmldom","version_end_excluding":"0.6.0"},{"criteria":"cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*","part":"a","vendor":"xmldom_project","product":"xmldom","version_start_including":"0.7.0","version_end_excluding":"0.7.7"},{"criteria":"cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:*","part":"a","vendor":"xmldom_project","product":"xmldom","version_start_including":"0.8.0","version_end_excluding":"0.8.4"},{"criteria":"cpe:2.3:a:xmldom_project:xmldom:0.9.0:beta1:*:*:*:node.js:*:*","part":"a","vendor":"xmldom_project","product":"xmldom","version":"0.9.0"},{"criteria":"cpe:2.3:a:xmldom_project:xmldom:0.9.0:beta2:*:*:*:node.js:*:*","part":"a","vendor":"xmldom_project","product":"xmldom","version":"0.9.0"},{"criteria":"cpe:2.3:a:xmldom_project:xmldom:0.9.0:beta3:*:*:*:node.js:*:*","part":"a","vendor":"xmldom_project","product":"xmldom","version":"0.9.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"}],"cpes_truncated":false,"vendors":["xmldom_project","debian"],"products":["xmldom_project/xmldom","debian/debian_linux"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01696,"percentile":0.77609,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-crh6-fp67-6883","ecosystem":"npm","name":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","ranges":[{"introduced":"0","fixed":"0.7.7"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-crh6-fp67-6883","ecosystem":"npm","name":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","ranges":[{"introduced":"0.8.0","fixed":"0.8.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-crh6-fp67-6883","ecosystem":"npm","name":"@xmldom/xmldom","purl":"pkg:npm/%40xmldom/xmldom","ranges":[{"introduced":"0.9.0-beta.1","fixed":"0.9.0-beta.4"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-crh6-fp67-6883","ecosystem":"npm","name":"xmldom","purl":"pkg:npm/xmldom","ranges":[{"introduced":"0","last_affected":"0.6.0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-39353/","html_en":"/en/cve/CVE-2022-39353/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-39353","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-39353"},"untrusted":{"vendor_name":"Xmldom Project","product_name":"Xmldom","desc_en":"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`.","affected":[{"untrusted_vendor":"xmldom","untrusted_product":"xmldom","versions":[]}],"references":[{"url":"https://github.com/jindw/xmldom/issues/150","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883","tags":["Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html","tags":["Mailing List","Third Party Advisory"]}]}}