Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions
- Severity:
- Medium
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
Related Issues
- Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query - CVE-2025-31125
- Regular Expression Denial of Service (ReDoS) in lodash - CVE-2020-28500
- Regular Expression Denial of Service (ReDoS) in lodash (GHSA-x5rq-j2xg-h7qm) - CVE-2019-1010266
- Regular Expression Denial of Service (ReDoS) in lodash (GHSA-x5rq-j2xg-h7qm) 3 - CVE-2019-1010266
- Tags:
- npm
- lodash
Anything's wrong? Let us know Last updated on January 21, 2026