Vulnerability library
Security checkJune 09, 2026

Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmlodash

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Lodash versions 4.0.0 through 4.17.22 are vulnerable to prototype pollution in the _.unset and _.omit functions. An attacker can pass crafted paths which cause Lodash to delete methods from global prototypes.

The issue permits deletion of properties but does not allow overwriting their original behavior.

Recommendation

Update the lodash package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 4.0.0, <= 4.17.22
  • Patched version(s): 4.17.23

References

Could your website be exposed too?

SmartScanner can check your website for Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 09, 2026