# GHSA-779f-wgxg-qr8f: Prototype Pollution in lodash.mergewith

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T18:10:22.000Z
- Modified: 2020-08-31T18:46:16.000Z
- Weaknesses: CWE-1321

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- lodash.mergewith (npm): before 4.6.2

## References

- <https://www.npmjs.com/advisories/1071> (web)

## Sources

- GitHub Advisory Database: [GHSA-779f-wgxg-qr8f](https://github.com/advisories/GHSA-779f-wgxg-qr8f), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-779f-wgxg-qr8f · Whole record: https://cve.day/GHSA-779f-wgxg-qr8f.json · Rebuilt by cve.day 2026-11-25T22:56:44.496Z
