CVEfocus › CVE database › CVE-2020-28502

CVE-2020-28502Arbitrary Code Injection

CVSS 8.1 HighEPSS 4.6% (higher than 92% of CVEs)Published 2021-03-05Updated 2024-09-16Assigner: snyk

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.

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
5Fix pending
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04node-xmlhttprequestNot affected
vulnerable_code_not_present
Ubuntu 25.10node-xmlhttprequestNot affected
vulnerable_code_not_present
Ubuntu 24.04node-xmlhttprequestNot affected
vulnerable_code_not_present
Ubuntu 22.04node-xmlhttprequestNot affected
vulnerable_code_not_present
Ubuntu 20.04node-xmlhttprequestNot affected
vulnerable_code_not_present
Ubuntu 20.04node-xmlhttprequest-sslFix pendingUBUNTU-CVE-2020-28502
Ubuntu 18.04node-xmlhttprequestFix pendingUBUNTU-CVE-2020-28502
Ubuntu 18.04node-xmlhttprequest-sslFix pendingUBUNTU-CVE-2020-28502
Ubuntu 16.04node-xmlhttprequestFix pendingUBUNTU-CVE-2020-28502
Ubuntu 14.04node-xmlhttprequestFix pending
Debian 14node-xmlhttprequestFixed1.8.0-1DEBIAN-CVE-2020-28502
Debian 13node-xmlhttprequestFixed1.8.0-1DEBIAN-CVE-2020-28502
Debian 12node-xmlhttprequestFixed1.8.0-1DEBIAN-CVE-2020-28502
npm libraryxmlhttprequestFixed1.7.0GHSA-h4j5-c7cj-74xg
npm libraryxmlhttprequest-sslFixed1.6.2GHSA-h4j5-c7cj-74xg

What the vendor says

As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.