Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWg0ajUtYzdjai03NHhn
xmlhttprequest and xmlhttprequest-ssl vulnerable to Arbitrary Code Injection
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWg0ajUtYzdjai03NHhn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 3 years ago
Updated: about 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Percentage: 0.02157
EPSS Percentile: 0.88976
Identifiers: GHSA-h4j5-c7cj-74xg, CVE-2020-28502
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-28502
- https://github.com/driverdan/node-XMLHttpRequest/commit/983cfc244c7567ad6a59e366e55a8037e0497fe6
- https://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js#L480
- https://github.com/driverdan/node-XMLHttpRequest/blob/1.6.0/lib/XMLHttpRequest.js%23L480
- https://github.com/mjwwit/node-XMLHttpRequest/blob/ae38832a0f1347c5e96dda665402509a3458e302/lib/XMLHttpRequest.js#L531
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938
- https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUEST-1082935
- https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936
- https://github.com/mjwwit/node-XMLHttpRequest/commit/ee1e81fc67729c7c0eba5537ed7fe1e30a6b3291
- https://github.com/advisories/GHSA-h4j5-c7cj-74xg
Blast Radius: 59.1
Affected Packages
npm:xmlhttprequest-ssl
Dependent packages: 136Dependent repositories: 1,076,748
Downloads: 14,910,245 last month
Affected Version Ranges: < 1.6.2
Fixed in: 1.6.2
All affected versions: 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.6.0, 1.6.1
All unaffected versions: 1.6.2, 1.6.3, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 3.0.0, 3.1.0
npm:xmlhttprequest
Dependent packages: 1,872Dependent repositories: 309,954
Downloads: 3,793,364 last month
Affected Version Ranges: < 1.7.0
Fixed in: 1.7.0
All affected versions: 1.0.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.4.2, 1.5.0, 1.6.0
All unaffected versions: 1.7.0, 1.8.0