Vulnerability library
Security checkJune 09, 2026

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

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

Medium severitynpmlodash.unset

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

No fix is available yet. Followings are affected versions:

  • >= 4.0.0, <= 4.5.2

References

Could your website be exposed too?

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

Start a free scan

Related Issues

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