Arbitrary code injection in xmlhttprequest
Priority MEDIUM 43CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
EPSS 0.04629 91st percentileScored 2026-11-07
Fix Fixed xmlhttprequest: 1.7.0xmlhttprequest (npm): 1.7.0+1 more product
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | xmlhttprequest | before 1.7.0 | 1.7.0 | Patch available | CNA |
| — | xmlhttprequest-ssl | all versions | — | No fix listed | CNA |
| — | xmlhttprequest (npm) | before 1.7.0 | 1.7.0 | Patch available | GHSA-h4j5-c7cj-74xg |
| — | xmlhttprequest-ssl (npm) | before 1.6.2 | 1.6.2 | Patch available | GHSA-h4j5-c7cj-74xg |
- xmlhttprequest Vendor— Affected before 1.7.0 Fixed in 1.7.0 Patch available CNA
- xmlhttprequest-ssl Vendor— Affected all versions Fixed in — No fix listed CNA
- xmlhttprequest (npm) Vendor— Affected before 1.7.0 Fixed in 1.7.0 Patch available GHSA-h4j5-c7cj-74xg
- xmlhttprequest-ssl (npm) Vendor— Affected before 1.6.2 Fixed in 1.6.2 Patch available GHSA-h4j5-c7cj-74xg
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xmlhttprequest_project:xmlhttprequest:*:*:*:*:*:node.js:*:* | before 1.7.0 | Vulnerable | Xmlhttprequest Project |
- cpe:2.3:a:xmlhttprequest_project:xmlhttprequest:*:*:*:*:*:node.js:*:* Versions before 1.7.0 Vulnerable ·Xmlhttprequest Project
Remediation
- Fix · CNA xmlhttprequest Fixed in 1.7.0
- Fix · GHSA-h4j5-c7cj-74xg xmlhttprequest (npm) Fixed in 1.7.0 Advisory →
- Fix · GHSA-h4j5-c7cj-74xg xmlhttprequest-ssl (npm) Fixed in 1.6.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 7 products
- OpenShift Service Mesh 1
- OpenShift Service Mesh 2.0
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Ceph Storage 3
- Red Hat Ceph Storage 4
- Red Hat OpenShift Container Platform 4
- Red Hat Quay 3
Timeline
- 2026-10-02 Threatist record created from CVE-2020-28502
- 2026-10-03 Alias added: GHSA-h4j5-c7cj-74xg
References
Other 5
- https://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js%23L480
- https://github.com/driverdan/node-XMLHttpRequest/commit/983cfc244c7567ad6a59e366e55a8037e0497fe6
- https://github.com/mjwwit/node-XMLHttpRequest/commit/ee1e81fc67729c7c0eba5537ed7fe1e30a6b3291
- https://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js#L480
- https://github.com/mjwwit/node-XMLHttpRequest/blob/ae38832a0f1347c5e96dda665402509a3458e302/lib/XMLHttpRequest.js#L531
Sources
- CVE-2020-28502 · CVE Program
- CVE-2020-28502 · NVD
- FIRST EPSS
- GHSA-h4j5-c7cj-74xg · GitHub Advisory Database · CC BY 4.0
- CVE-2020-28502 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences