Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. lodash.mergewith
  4. ›
  5. GMS-2020-354

GMS-2020-354: Prototype Pollution in lodash.mergewith

September 3, 2020 (updated September 29, 2021)

Versions of lodash.mergewith are vulnerable to Prototype Pollution. The function ‘mergeWith’ may allow a malicious user to modify the prototype of Object via __proto__ causing the addition or modification of an existing property that will exist on all objects.

Update to or later.

References

  • github.com/advisories/GHSA-5947-m4fg-xhqg
  • www.npmjs.com/advisories/1069

Code Behaviors & Features

Detect and mitigate GMS-2020-354 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.6.1

Fixed versions

  • 4.6.1

Solution

Upgrade to version 4.6.1 or above.

Source file

npm/lodash.mergewith/GMS-2020-354.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:02 +0000.