CVE-2020-28502: xmlhttprequest - Stored XSS
- Cve: CVE-2020-28502
- Name: xmlhttprequest - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary code on the client by sending maliciously crafted synchronous requests.
- Remediation: Update to xmlhttprequest version 1.7.0 or later, and xmlhttprequest-ssl to the latest version.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.04629
- Epss percentile: 0.91931
- Assignee: [email protected]
- Published at: 2021-03-05T18:15:12Z
- Age in days: 2090
- Modified at: 2026-06-17T03:10:33Z
- Patch available: yes
- Public exploits total: 6
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-28502
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937 | nvd | 2021-03-05 |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938 | nvd | 2021-03-05 |
| https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUEST-1082935 | nvd | 2021-03-05 |
| https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936 | nvd | 2021-03-05 |
| https://github.com/dpredrag/CVE-2020-28502 | poc-in-github | 2021-07-28 |
References
Same in every row:
- Source: nvd
- Tags: Exploit, Third Party Advisory
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xmlhttprequest_project:xmlhttprequest | < 1.7.0 | no | nvd | /v1/products/xmlhttprequest_project/xmlhttprequest |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| driverdan/node-xmlhttprequest | commit | yes | /v1/repositories/driverdan/node-xmlhttprequest |
| mjwwit/node-xmlhttprequest | commit | yes | /v1/repositories/mjwwit/node-xmlhttprequest |
Index
- Repositories: 83
- Repositories high signal: 24
- Packages: 2
Exploitation
- Public exploit: yes
- Public exploit count: 6
- Public exploit first date: 2021-03-05
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts