Vulnerability · Published Mar 5, 2021 · Assigned by snyk

CVE-2020-28502Arbitrary Code Injection

High 8.1

In plain English

A high-severity security flaw in xmlhttprequest. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.6% (higher than 92% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)4.6%top 8.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False on xhr.open), malicious user input flowing into xhr.send could result in arbitrary code being injected and run.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12node-xmlhttprequest1.8.0-1DEBIAN-CVE-2020-28502
Debian:13node-xmlhttprequest1.8.0-1DEBIAN-CVE-2020-28502
Debian:14node-xmlhttprequest1.8.0-1DEBIAN-CVE-2020-28502
npmxmlhttprequest1.7.0GHSA-h4j5-c7cj-74xg
npmxmlhttprequest-ssl1.6.2GHSA-h4j5-c7cj-74xg

Affected products (as reported)

VendorProductVersions
n/a xmlhttprequest unspecified – before 1.7.0
n/a xmlhttprequest-ssl 0 – before unspecified

References