Description

xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. xmldom versions 0.4.0 and older do not correctly preserve system identifiers, FPIs or namespaces when repeatedly parsing and serializing maliciously crafted documents. This may lead to unexpected syntactic changes during XML processing in some downstream applications. This is fixed in version 0.5.0. As a workaround downstream applications can validate the input and reject the maliciously crafted documents.

INFO

Published Date :

March 12, 2021, 5:15 p.m.

Last Modified :

Feb. 28, 2023, 7:24 p.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2021-21366 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-21366 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Xmldom_project xmldom
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-2021-21366.

URL Resource
https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135 Patch
https://github.com/xmldom/xmldom/releases/tag/0.5.0 Release Notes
https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv Vendor Advisory
https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html Mailing List Third Party Advisory
https://www.npmjs.com/package/xmldom Product

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

Create Android Apps with Framework 7 and Cordova

Updated: 1 year, 5 months ago
0 stars 0 fork 0 watcher
Born at : April 15, 2023, 7:02 p.m. This repo has been linked 1 different CVEs too.

Antony Locke Bournemouth

Updated: 1 year, 7 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 23, 2023, 1 p.m. This repo has been linked 1 different CVEs too.

None

JavaScript TypeScript HTML CSS

Updated: 2 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : July 5, 2022, 6:32 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-21366 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-21366 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 [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Feb. 28, 2023

    Action Type Old Value New Value
    Changed Reference Type https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135 Patch, Third Party Advisory https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135 Patch
    Changed Reference Type https://github.com/xmldom/xmldom/releases/tag/0.5.0 Release Notes, Third Party Advisory https://github.com/xmldom/xmldom/releases/tag/0.5.0 Release Notes
    Changed Reference Type https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv Third Party Advisory https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv Vendor Advisory
    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
    Changed Reference Type https://www.npmjs.com/package/xmldom Product, Third Party Advisory https://www.npmjs.com/package/xmldom Product
    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]

    Mar. 22, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
    Changed Reference Type https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135 No Types Assigned https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135 Patch, Third Party Advisory
    Changed Reference Type https://github.com/xmldom/xmldom/releases/tag/0.5.0 No Types Assigned https://github.com/xmldom/xmldom/releases/tag/0.5.0 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv No Types Assigned https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv Third Party Advisory
    Changed Reference Type https://www.npmjs.com/package/xmldom No Types Assigned https://www.npmjs.com/package/xmldom Product, Third Party Advisory
    Added CWE NIST CWE-436
    Added CPE Configuration OR *cpe:2.3:a:xmldom_project:xmldom:*:*:*:*:*:node.js:*:* versions up to (excluding) 0.5.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-21366 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-2021-21366 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.30 }} 0.09%

score

0.68996

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability