CVE-2020-28502
xmlhttprequest and xmlhttprequest-ssl vulnerable to Arbitrary Code Injection
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.
Affected Maven artifacts (4)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » xmlhttprequestvia npm xmlhttprequest | < 1.7.0 | 1.7.0 |
| org.mvnpm » xmlhttprequest-sslvia npm xmlhttprequest-ssl | < 1.6.2 | 1.6.2 |
| org.webjars.npm » xmlhttprequestvia npm xmlhttprequest | < 1.7.0 | 1.7.0 |
| org.webjars.npm » xmlhttprequest-sslvia npm xmlhttprequest-ssl | < 1.6.2 | 1.6.2 |
Blast radius
14% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 3 |
| 2 hops | 1 |
| 3 hops | 2 |
| 4 hops | 4 |
| 5 hops | 1 |
Most used dependents
- org.webjars.npm » socket.io-client9 usages
- org.webjars.npm » karma7 usages
- org.webjars.npm » browser-sync7 usages
- org.webjars.npm » socket.io5 usages
- org.webjars.npm » engine.io-client1 usages
- org.webjars.npm » github-com-palantir-blueprint0 usages
- org.webjars.npm » github-com-socketio-engine-io-client0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (2 packages) . See all on OSV
References
| Advisory | NVD CVE-2020-28502 | nvd.nist.gov |
| Web | driverdan/node-XMLHttpRequest commit 983cfc2 | github.com |
| Web | mjwwit/node-XMLHttpRequest commit ee1e81f | github.com |
| Web | driverdan/node-XMLHttpRequest XMLHttpRequest.js | github.com |
| Web | driverdan/node-XMLHttpRequest XMLHttpRequest.js#L480 | github.com |
| Web | mjwwit/node-XMLHttpRequest XMLHttpRequest.js | github.com |
| Web | vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937 | snyk.io |
| Web | vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938 | snyk.io |
| Web | vuln/SNYK-JS-XMLHTTPREQUEST-1082935 | snyk.io |
| Web | vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936 | snyk.io |
