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

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:0.7.5-1ubuntu0.22.04.1USN-6102-1
Fixed in:0.7.5-1ubuntu0.22.10.1USN-6102-1

This Ubuntu release reached end-of-life on 2023-07-20.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

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.27%probability of exploitation in 30 days
68thpercentile

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

References

Exploit1
Third-Party Advisory2

Related Vulnerabilities

Other CWE-20 (Improper Input Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2021-45105Medium5.9100%-Fix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2020-3452High7.5100%KEVFix
CVE-2018-7600Critical9.8100%KEV + RansomFix

Common questions

How do I fix CVE-2022-39353?

Published advisories record a fix for 2 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-39353 being actively exploited?

Not that we know of. CVE-2022-39353 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.3% is the estimated probability that it will be exploited in the next 30 days. That is higher than 68% of all scored CVEs.

How severe is CVE-2022-39353?

CVE-2022-39353 has a CVSS v3 base score of 9.4, rated critical. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-39353 affect?

Published advisories record a fix for node-xmldom (Debian), node-xmldom (Ubuntu). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

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 2026-06-17.