{"id":"EUVD-2022-7316","enisaUuid":"02cbd0e8-da12-3e23-8329-17b917d6880c","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@\u003e\u003d0.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`.","datePublished":"Nov 2, 2022, 12:00:00 AM","dateUpdated":"Apr 22, 2025, 5:16:38 PM","baseScore":9.4,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","references":"https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883\nhttps://github.com/jindw/xmldom/issues/150\nhttps://lists.debian.org/debian-lts-announce/2023/01/msg00000.html\n","aliases":"CVE-2022-39353\nGHSA-crh6-fp67-6883\n","assigner":"GitHub_M","epss":1.56,"enisaIdProduct":[{"id":"2c3acfde-455f-3aa9-adfd-e8438fc870a8","product":{"name":"xmldom","vendor":{"name":"xmldom"}},"product_version":"0.8.0, \u003c 0.8.4"},{"id":"2e4313e6-9077-398e-a5a2-0982fab20220","product":{"name":"xmldom","vendor":{"name":"xmldom"}},"product_version":"\u003c 0.7.7"},{"id":"a0cb3585-0967-3a39-b07a-e88d336c121a","product":{"name":"xmldom","vendor":{"name":"xmldom"}},"product_version":"0.9.0-beta.1, \u003c 0.9.0-beta.4"},{"id":"fbc09a89-627c-3bed-85ef-6a890d9221a8","product":{"name":"xmldom","vendor":{"name":"xmldom"}},"product_version":"≤ 0.6.0"}],"enisaIdVendor":[{"id":"4fdd7ad8-9972-323f-8f7d-9f71bfb61351","vendor":{"name":"xmldom"}}],"enisaIdVulnerability":[{"id":"7af9db8e-97bf-37d9-8536-d5a1ba463b2b","vulnerability":{"id":"GHSA-crh6-fp67-6883","description":"xmldom allows multiple root nodes in a DOM","datePublished":"Nov 1, 2022, 5:29:11 PM","dateUpdated":"Nov 4, 2022, 8:44:46 PM","baseScore":null,"references":"https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-39353\nhttps://github.com/jindw/xmldom/issues/150\nhttps://github.com/xmldom/xmldom/commit/52a708360c35aa160fcca8621720d71fd0f95f1a\nhttps://github.com/xmldom/xmldom/commit/7ff7c10ab2961703ac1752e95b4ff60ee4ee6643\nhttps://github.com/xmldom/xmldom/commit/c02f786216bed70825f9a351c65e61500f51e931\nhttps://github.com/xmldom/xmldom\nhttps://github.com/xmldom/xmldom/releases/tag/0.7.7\nhttps://github.com/xmldom/xmldom/releases/tag/0.8.4\nhttps://github.com/xmldom/xmldom/releases/tag/0.9.0-beta.4\nhttps://lists.debian.org/debian-lts-announce/2023/01/msg00000.html\n","enisa_id":"EUVD-2022-7316\n","aliases":"CVE-2022-39353\nGHSA-crh6-fp67-6883\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:30:30 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"7cd0c18c-bde3-3c19-91c9-cb1ced2fb976","vulnerability":{"id":"CVE-2022-39353","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@\u003e\u003d0.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`.","datePublished":"Nov 2, 2022, 12:00:00 AM","dateUpdated":"Apr 22, 2025, 5:16:38 PM","status":"PUBLISHED","baseScore":9.4,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H","references":"https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883\nhttps://github.com/jindw/xmldom/issues/150\nhttps://lists.debian.org/debian-lts-announce/2023/01/msg00000.html\n","enisa_id":"EUVD-2022-7316\n","assigner":"GitHub_M","epss":1.56,"dataProcessed":"Nov 18, 2026, 7:19:31 AM","vulnerabilityProduct":[{"id":"2d068a8c-7ad1-3991-904b-bc46e4ce18f9","product":{"name":"xmldom","vendor":{"name":"xmldom"}},"product_version":"\u003c 0.7.7"},{"id":"a676eeb9-92e8-3e4d-9276-c9b886e17eef","product":{"name":"xmldom","vendor":{"name":"xmldom"}},"product_version":"0.9.0-beta.1, \u003c 0.9.0-beta.4"},{"id":"a77d6ccd-5d76-3e38-922e-a394a4d749d4","product":{"name":"xmldom","vendor":{"name":"xmldom"}},"product_version":"0.8.0, \u003c 0.8.4"},{"id":"bf6df12e-a9db-36d6-aff5-e0e2642d8b6a","product":{"name":"xmldom","vendor":{"name":"xmldom"}},"product_version":"≤ 0.6.0"}],"vulnerabilityVendor":[{"id":"71de8e6b-7a99-34f1-89dc-ce56b51490ce","vendor":{"name":"xmldom"}}]}}],"enisaIdAdvisory":[{"id":"418215a4-22cb-3df5-9144-5fa933335c79","advisory":{"id":"msrc_CVE-2022-39353","description":"xmldom allows multiple root nodes in a DOM","datePublished":"Jun 30, 2024, 7:00:00 AM","dateUpdated":"Aug 12, 2026, 9:18:31 PM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2022/msrc_cve-2022-39353.json\n","aliases":"CVE-2022-39353\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"012d9dff-ba95-3159-ab93-28774c60756c","product":{"name":"azl3 python-tensorboard 0:2.16.2-1.azl3","vendor":{"name":"Microsoft"}}},{"id":"6878f6cf-5bbf-3c62-847b-a84a48d68228","product":{"name":"cbl2 python-tensorboard 2.11.0-3","vendor":{"name":"Microsoft"}}},{"id":"933396e3-656b-3cb1-90ea-311e8871084f","product":{"name":"python-tensorboard","vendor":{"name":"Microsoft"}}},{"id":"97d95456-aac9-39f9-a29e-908dfb57eb67","product":{"name":"azl3 python-tensorboard 0:2.11.0-3.azl3","vendor":{"name":"Microsoft"}}},{"id":"aa6d4683-ea47-3a77-bc6b-0455226fffb8","product":{"name":"2.0","vendor":{"name":"Smiths Medical"}}},{"id":"b7d90f26-6bca-3967-ab1d-c8f8c5fa1840","product":{"name":"azl3 python-tensorboard 2.11.0-3","vendor":{"name":"Microsoft"}}},{"id":"e4141878-43d4-3bc4-801f-eaf39971f466","product":{"name":"azl3 python-tensorboard 2.16.2-1","vendor":{"name":"Microsoft"}}},{"id":"e543d14f-fd30-3704-929b-3b9992188134","product":{"name":"cbl2 python-tensorboard 0:2.11.0-3.cbl2","vendor":{"name":"Microsoft"}}},{"id":"f565c829-9f0f-3b67-bea6-32f3822c51e4","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}},{"id":"f6b5ce3d-1320-3120-8b7f-2516e84a19df","product":{"name":"3.0","vendor":{"name":"Wind River"}}}]}}]}