GitHub Advisoryadvisory · npm
GHSA-5947-m4fg-xhqg Prototype Pollution in lodash.mergewith
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- lodash.mergewith
- Severity
- High
- Weaknesses
- CWE-1321
- Reviewed
- 2020-08-31
Affected packages
• npm lodash.mergewith: < 4.6.1 → fixed in 4.6.1
Description
Versions of `lodash.mergewith` before 4.6.1 are vulnerable to Prototype Pollution. The function 'mergeWith' may allow a malicious user to modify the prototype of `Object` via `__proto__` causing the addition or modification of an existing property that will exist on all objects.
Recommendation
Update to version 4.6.1 or later.
Related
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness