{"id":"EUVD-2022-7316","revision":"8e89973d7ac947f5a7b5cb58b195bef9","records":[{"revision":"8e89973d7ac947f5a7b5cb58b195bef9","observedAt":"2026-11-14T06:01:41.932+00:00","statement":{"source":"euvd","id":"EUVD-2022-7316","aliases":["CVE-2022-39353","GHSA-crh6-fp67-6883"],"title":"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 `childNo…","description":"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`.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","score":9.4,"severity":null}],"references":["https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883","https://github.com/jindw/xmldom/issues/150","https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-7316","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 2, 2022, 12:00:00 AM","dateUpdated":"Apr 22, 2025, 5:16:38 PM"},"relatedAdvisories":[{"id":"msrc_CVE-2022-39353","title":"xmldom allows multiple root nodes in a DOM","vulnerabilityIds":["CVE-2022-39353"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-7316","identifiers":["EUVD-2022-7316","CVE-2022-39353","GHSA-crh6-fp67-6883"]},"retained":false,"historicalAffected":[]}],"coverage":[]}