CVE-2021-21366
xmldom XML Entity Injection Vulnerability
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 :
Nov. 21, 2024, 5:48 a.m.
Source :
[email protected]
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.
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 |
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
Antony Locke Bournemouth
None
JavaScript TypeScript HTML CSS
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/xmldom/xmldom/commit/d4201b9dfbf760049f457f9f08a3888d48835135 Added Reference https://github.com/xmldom/xmldom/releases/tag/0.5.0 Added Reference https://github.com/xmldom/xmldom/security/advisories/GHSA-h6q6-9hqw-rwfv Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00000.html Added Reference https://www.npmjs.com/package/xmldom -
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
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.91 }} -0.68%
score
0.73700
percentile