All CVEs / Xmlhttprequest Project
CVE-2020-28502Xmlhttprequest Project Xmlhttprequest
High 8.1 No auth needed
Follow: this CVE · Xmlhttprequest Project · Xmlhttprequest Project Xmlhttprequest We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Xmlhttprequest.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| xmlhttprequest_project | xmlhttprequest | < 1.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory