# GHSA-5947-m4fg-xhqg: 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:08:10.000Z
- Modified: 2020-08-31T18:46:11.000Z
- Weaknesses: CWE-1321

## 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.

(As written by GitHub Advisory Database.)

## Affected

- lodash.mergewith (npm): before 4.6.1

## References

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

## Sources

- GitHub Advisory Database: [GHSA-5947-m4fg-xhqg](https://github.com/advisories/GHSA-5947-m4fg-xhqg), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-5947-m4fg-xhqg · Whole record: https://cve.day/GHSA-5947-m4fg-xhqg.json · Rebuilt by cve.day 2026-11-25T22:56:44.154Z
