Skip to content
Sign in
CVE-2022-393539.4CriticalCWE-1288

CVE-2022-39353: xmldom allows multiple root nodes in a DOM

xmldom

Affected: xmldom · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

1.6%probability of exploitation in the next 30 days
75th percentile
050100

Higher than 75% of scored CVEs

9.4CriticalCVSS 3.1
LowCrit.

DescriptionCVE.org

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 products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • xmldom · xmldom<= 0.6.0; < 0.7.7; >= 0.8.0, < 0.8.4; >= 0.9.0-beta.1, < 0.9.0-beta.4

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
xmldom
Published
November 2022

CoverageNo articles yet

No CyberSIXT article names CVE-2022-39353 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in