SecurityContext

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

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082937nvd2021-03-05
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1082938nvd2021-03-05
https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUEST-1082935nvd2021-03-05
https://snyk.io/vuln/SNYK-JS-XMLHTTPREQUESTSSL-1082936nvd2021-03-05
https://github.com/dpredrag/CVE-2020-28502poc-in-github2021-07-28

References

Same in every row:

  • Source: nvd
  • Tags: Exploit, Third Party Advisory
Url
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

Products

ProductAffectedPlatform boundSourcesUrl
xmlhttprequest_project:xmlhttprequest< 1.7.0nonvd/v1/products/xmlhttprequest_project/xmlhttprequest

Projects

RepositoryLink kindsIndexedUrl
driverdan/node-xmlhttprequestcommityes/v1/repositories/driverdan/node-xmlhttprequest
mjwwit/node-xmlhttprequestcommityes/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