# GHSA-h5mp-5q4p-ggf5: Prototype Pollution in lodash.defaultsdeep

- 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:07:05.000Z
- Modified: 2020-08-31T18:46:09.000Z
- Weaknesses: CWE-1321

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- lodash.defaultsdeep (npm): before 4.6.1

## References

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

## Sources

- GitHub Advisory Database: [GHSA-h5mp-5q4p-ggf5](https://github.com/advisories/GHSA-h5mp-5q4p-ggf5), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-h5mp-5q4p-ggf5 · Whole record: https://cve.day/GHSA-h5mp-5q4p-ggf5.json · Rebuilt by cve.day 2026-11-25T22:56:45.542Z
