CVE & CISA-KEV Catalog

CVE-2022-39353

CRITICAL
9.4
CVSS v3
NVD

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`.

How to fix

Remediation Available
node-xmldomDebian
Fixed in:0.5.0-1+deb11u2CVE-2022-39353
Fixed in:0.8.6-1CVE-2022-39353
Fixed in:0.8.6-1CVE-2022-39353
Fixed in:0.8.6-1CVE-2022-39353
node-xmldomUbuntu
Fixed in:0.1.27+ds-1+deb10u2build0.20.04.1USN-6102-1
Fixed in:0.7.5-1ubuntu0.22.04.1USN-6102-1
Fixed in:0.7.5-1ubuntu0.22.10.1USN-6102-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H

Exploit Intelligence

1.18%probability of exploitation in 30 days
64thpercentile

Moderate risk: more likely to be exploited than 64% of all known CVEs.

References

Exploit1
Third-Party Advisory2
Embed a live status badge for CVE-2022-39353
CVE-2022-39353 severity badge

Markdown

[![CVE-2022-39353](https://tridentstack.com/cve/badge/CVE-2022-39353.svg)](https://tridentstack.com/cve/CVE-2022-39353)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-39353"><img src="https://tridentstack.com/cve/badge/CVE-2022-39353.svg" alt="CVE-2022-39353"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.