CriticalGHSA-jf85-cpcp-j695CVE-2019-10744SNYK-JS-LODASH-450202

Prototype Pollution in lodash

Published 10 Jul 2019 · Updated 10 Sept 2026

Is your project on an affected lodash?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Affected packages

Affected
<4.17.12
Fixed in
4.17.12
Update to the fixed version for your release line, for example:npm install lodash@4.17.12
Affected
<4.17.14
Fixed in
4.17.14
Update to the fixed version for your release line, for example:npm install lodash-es@4.17.14
Affected
<4.17.13
Fixed in
4.17.13
Update to the fixed version for your release line, for example:npm install lodash-amd@4.17.13
Affected
<4.6.1
Fixed in
4.6.1
Update to the fixed version for your release line, for example:npm install lodash.defaultsdeep@4.6.1

Details

Versions of lodash before 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep allows a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.

Recommendation

Update to version 4.17.12 or later.

Is GHSA-jf85-cpcp-j695 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected lodash, and gives you the command that fixes it.

More advisories for lodash

  • HighCVE-2026-4800lodash vulnerable to Code Injection via `_.template` imports key names · 1 Apr 2026
  • MediumCVE-2026-2950lodash vulnerable to prototype pollution via array-path bypass in `_.unset`, `_.omit`, and `_.pullAt · 1 Apr 2026
  • MediumCVE-2025-13465Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions · 21 Jan 2026
  • MediumCVE-2020-28500Regular Expression Denial of Service (ReDoS) in lodash · 6 Jan 2022
  • HighCVE-2021-23337Command Injection in lodash · 6 May 2021
  • HighCVE-2020-8203Prototype Pollution in lodash · 15 Jul 2020
All 10 advisories for lodash

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.