Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-21366

4.3 · MEDIUM
Published Mar 12, 2021 xmldom_project CWE-115 EPSS 1.34% (69th pctl)

Overview

CVE-2021-21366 is a medium-severity vulnerability affecting xmldom_project xmldom. It was published on March 12, 2021 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from xmldom_project. Update xmldom to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
xmldom_project xmldom >= 0, < 0.5.0 Affected

Frequently Asked Questions

What is CVE-2021-21366?

CVE-2021-21366 is a medium-severity vulnerability affecting xmldom_project xmldom. It was published on March 12, 2021 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

How severe is CVE-2021-21366?

This vulnerability has a CVSS 3.1 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-21366?

Check the references section for vendor advisories and patches from xmldom_project. Update xmldom to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-21366?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21366 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.