Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. xmlhttprequest
  4. ›
  5. CVE-2020-28502

CVE-2020-28502: Code Injection

March 5, 2021 (updated March 16, 2021)

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.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-28502

Code Behaviors & Features

Detect and mitigate CVE-2020-28502 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.7.0

Fixed versions

  • 1.7.0

Solution

Upgrade to version 1.7.0 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/xmlhttprequest/CVE-2020-28502.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:40 +0000.