GHSA-xxjr-mmjv-4gpg
MODERATE
Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions
Published January 21, 2026Updated February 4, 2026Source: osv
Details
### Impact
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.
### Patches
This issue is patched on 4.17.23.
Remediation
Upgrade to the fixed version using your package manager.
npm
Update lodash to 4.17.23 or laternpm install lodash@4.17.23
npm
Update lodash-es to 4.17.23 or laternpm install lodash-es@4.17.23
npm
Update lodash-amd to 4.17.23 or laternpm install lodash-amd@4.17.23
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| lodash | npm | All versions | 4.17.23 |
| lodash.unset | npm | All versions | Range-based data available |
| lodash-es | npm | All versions | 4.17.23 |
| lodash-amd | npm | All versions | 4.17.23 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 3.1 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Risk Assessment
CVSS Score
3.1
Exploitation is difficult or impact is minor. Address in your next planned update.
EPSS Score (30-day exploit probability)
0.03%
Higher than 7% of vulnerabilities
Also Known As
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies