> CVE-2022-39353 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2022-11-02 17:15
MODIFIED
2024-11-21 07:18
CVSS_SCORE V3
9.4
EPSS (Prob. Exploit)
1.56%
Top 24.4%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-17

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

> AFFECTED_PRODUCTS

Debian - Debian Linux
Version: 10.0
Xmldom Project - Xmldom
< 0.6.0
Xmldom Project - Xmldom
>= 0.7.0 < 0.7.7
Xmldom Project - Xmldom
>= 0.8.0 < 0.8.4
Xmldom Project - Xmldom
Version: 0.9.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-crh6-fp67-6883 CRITICAL

xmldom allows multiple root nodes in a DOM

AFFECTED PACKAGES:
NPM / @xmldom/xmldom
>= 0.9.0-beta.1, < 0.9.0-beta.4
Fixed in: 0.9.0-beta.4
NPM / @xmldom/xmldom
>= 0.8.0, < 0.8.4
Fixed in: 0.8.4
NPM / @xmldom/xmldom
< 0.7.7
Fixed in: 0.7.7
NPM / xmldom
<= 0.6.0

> HISTORIQUE DES MODIFICATIONS

Première apparition
02/11/2022 17:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:36
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME