Critical severityNVD Advisory· Published Mar 5, 2021· Updated Sep 16, 2024
Arbitrary Code Injection
CVE-2020-28502
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
xmlhttprequestnpm | < 1.7.0 | 1.7.0 |
xmlhttprequest-sslnpm | < 1.6.2 | 1.6.2 |
Affected products
3- xmlhttprequest/xmlhttprequestdescription
- ghsa-coords2 versions
< 1.7.0+ 1 more
- (no CPE)range: < 1.7.0
- (no CPE)range: < 1.6.2
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
11- github.com/advisories/GHSA-h4j5-c7cj-74xgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-28502ghsaADVISORY
- github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.jsghsaWEB
- github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js%23L480ghsax_refsource_MISCWEB
- github.com/driverdan/node-XMLHttpRequest/commit/983cfc244c7567ad6a59e366e55a8037e0497fe6ghsaWEB
- github.com/mjwwit/node-XMLHttpRequest/blob/ae38832a0f1347c5e96dda665402509a3458e302/lib/XMLHttpRequest.jsghsaWEB
- github.com/mjwwit/node-XMLHttpRequest/commit/ee1e81fc67729c7c0eba5537ed7fe1e30a6b3291ghsaWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-XMLHTTPREQUEST-1082935ghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.