Live threats

All CVEs / Xmlhttprequest Project

CVE-2020-28502Xmlhttprequest Project Xmlhttprequest

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
4.6%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Mar 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Xmlhttprequest.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm xmlhttprequest < 1.7.0 1.7.0 npm install xmlhttprequest@1.7.0
npm xmlhttprequest-ssl < 1.6.2 1.6.2 npm install xmlhttprequest-ssl@1.6.2

Per OSV / GitHub Advisories (GHSA-h4j5-c7cj-74xg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xmlhttprequest_projectxmlhttprequest< 1.7.0

Official sources

References

Links published by the sources. Open them with care.