What’s Vulnerable › Vulnerabilities

CVE-2025-13465: Prototype Pollution Vulnerability in Lodash _.unset and _.omit functions

Description

The _.unset and _.omit functions in Lodash are vulnerable to prototype pollution. 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. The issue is patched from 4.17.23 to 4.18.0 depending on the package: lodash, lodash-es, and lodash-amd in 4.17.23, and the standalone lodash.unset and lodash.omit packages in 4.18.0.

Affected products

How to fix

Upgrade to a fixed version: lodash 4.17.23; Npm Lodash 4.17.23; Npm Lodash-Amd 4.17.23; Npm Lodash-Es 4.17.23. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-13465 or the next vulnerability affects your stack