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

CVE-2020-5258: Injection Vulnerability

March 10, 2020 (updated December 2, 2021)

In affected versions of dojo, the deepCopy method is vulnerable to Prototype Pollution. Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects. An attacker manipulates these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2020-5258 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.11.10, all versions starting from 1.12.0 before 1.12.8, all versions starting from 1.13.0 before 1.13.7, all versions starting from 1.14.0 before 1.14.6, all versions starting from 1.15.0 before 1.15.3, all versions starting from 1.16.0 before 1.16.2

Fixed versions

  • 1.11.10
  • 1.12.8
  • 1.13.7
  • 1.14.6
  • 1.15.3
  • 1.16.2

Solution

Upgrade to versions 1.11.10, 1.12.8, 1.13.7, 1.14.6, 1.15.3, 1.16.2 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/dojo/CVE-2020-5258.yml

Spotted a mistake? Edit the file on GitLab.

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

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