CVE-2022-39353
xmldom Multiple Root Node Vulnerability
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`.
INFO
Published Date :
Nov. 2, 2022, 5:15 p.m.
Last Modified :
Nov. 21, 2024, 7:18 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-39353 has a 5 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-39353
.
URL | Resource |
---|---|
https://github.com/jindw/xmldom/issues/150 | Exploit Issue Tracking Third Party Advisory |
https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html | Mailing List Third Party Advisory |
https://github.com/jindw/xmldom/issues/150 | Exploit Issue Tracking Third Party Advisory |
https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html | Mailing List Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Batchfile JavaScript TypeScript HTML SCSS
None
Batchfile JavaScript TypeScript HTML SCSS
None
Batchfile JavaScript TypeScript HTML SCSS
None
JavaScript
A Node.js library for running Ecovacs Deebot and yeedi vacuum cleaner robots
ecovacs deebot ozmo smarthome vacuum vacuum-cleaner yeedi
JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-39353
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-39353
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/jindw/xmldom/issues/150 Added Reference https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883 Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Mar. 01, 2023
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 01, 2023
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html [No Types Assigned] -
Initial Analysis by [email protected]
Nov. 04, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/jindw/xmldom/issues/150 No Types Assigned https://github.com/jindw/xmldom/issues/150 Exploit, Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883 No Types Assigned https://github.com/xmldom/xmldom/security/advisories/GHSA-crh6-fp67-6883 Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:* versions up to (excluding) 0.6.0 *cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:* versions from (including) 0.7.0 up to (excluding) 0.7.7 *cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:* versions from (including) 0.8.0 up to (excluding) 0.8.4 *cpe:2.3:a:xmldom_project:xmldom:0.9.0:beta1:*:*:*:node.js:*:* *cpe:2.3:a:xmldom_project:xmldom:0.9.0:beta2:*:*:*:node.js:*:* *cpe:2.3:a:xmldom_project:xmldom:0.9.0:beta3:*:*:*:node.js:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-39353
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-39353
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.88 }} -4.13%
score
0.73317
percentile