CVE-2021-21366
node-xmldom - security update
4.3
MEDIUM
CVSS 3.1
EPSS 1.3%
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.
How to fix CVE-2021-21366
To remediate CVE-2021-21366, upgrade the affected package to a fixed version below.
- —upgrade to 0.5.0-1 or later
- —upgrade to 0.1.27+ds-1+deb10u2 or later
- —upgrade to 0.5.0 or later
Is CVE-2021-21366 being exploited?
Low — EPSS is 1.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 0.5.0-1
- from 0, < 0.1.27+ds-1+deb10u2
- from 0, < 0.5.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |