GHSA-h5mp-5q4p-ggf5
HIGHPrototype Pollution in lodash.defaultsdeep
Versions of lodash.defaultsdeep before 4.6.1 are vulnerable to prototype pollution. The function mergeWith may allow a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.
Recommendation
Update to version 4.6.1 or later.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | lodash.defaultsdeep | < 4.6.1 | 4.6.1 |
References
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)