npm package

lodash 4.17.23 vulnerabilities, and the version that fixes all of them

lodash 4.17.23 has 2 known vulnerabilities (1 rated high or critical); 4.18.0 fixes all of them. 4.18.0 is a deprecated release, so upgrade to 4.18.1, which has no known vulnerabilities.

npm (opens in a new tab) describes it as “Lodash modular utilities.”

Known vulnerabilities
2
1 rated high or critical
Released
Jan 21, 2026
Latest is 4.18.1
Downloads last week
14.1M
9% of lodash downloads
Licence
MIT
OpenSSF Scorecard
7.5/10
lodash/lodash (opens in a new tab)
Dependencies
None
Resolved by deps.dev

What to upgrade to

4.18.1 is the closest release with no known vulnerabilities that we checked.

  • 4.18.0

    Fixes all 2 known vulnerabilities. Released Mar 31, 2026.

    Deprecated release
  • 4.18.1Upgrade to this

    Newest 4.x release and the latest release. Released Apr 1, 2026.

    No known vulnerabilities

4.18.1 came out on Apr 1, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for lodash 4.17.23

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. CriticalCVE-2026-4800 on OSV.dev (opens in a new tab)GHSA-r5fr-rjxr-66jcEPSS: top 15%

    lodash vulnerable to Code Injection via `_.template` imports key names

    Fixed in 4.18.0. Published Apr 1, 2026.

  2. WarningCVE-2026-2950 on OSV.dev (opens in a new tab)GHSA-f23m-r3pf-42rhEPSS: top 68%

    lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`

    Fixed in 4.18.0. Published Apr 1, 2026.

Who is still on a vulnerable lodash

36% of last week’s 162.3M lodash downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is lodash the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly lodash 4.17.23, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.