Prototype Pollution in lodash.mergewith
Priority LOW 38CWE-1321Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
Versions of `lodash.mergewith` before 4.6.2 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.2 or later.
Why it matters now
Fix Fixed lodash.mergewith (npm): 4.6.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | lodash.mergewith (npm) | before 4.6.2 | 4.6.2 | Patch available | GHSA-779f-wgxg-qr8f |
- lodash.mergewith (npm) Vendor— Affected before 4.6.2 Fixed in 4.6.2 Patch available GHSA-779f-wgxg-qr8f
Remediation
- Fix · GHSA-779f-wgxg-qr8f lodash.mergewith (npm) Fixed in 4.6.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-779f-wgxg-qr8f
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences