Vulnerability library
Security checkApril 01, 2026

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

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.17.23 and earlier are vulnerable to prototype pollution in the _.unset and _.omit functions. The fix for CVE-2025-13465 only guards against string key members, so an attacker can bypass the check by passing array-wrapped path segments. This allows deletion of properties from built-in prototypes such as Object.prototype, Number.prototype, and String.prototype.

Recommendation

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

  • Affected version(s): <= 4.17.23
  • Patched version(s): 4.18.0

References

Could your website be exposed too?

SmartScanner can check your website for lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit` and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 01, 2026