# GHSA-h726-x36v-rx45: Prototype Pollution in lodash.merge

- 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:04:54.000Z
- Modified: 2020-08-31T18:46:04.000Z
- Weaknesses: CWE-1321

## Description

Versions of `lodash.merge` before 4.6.2 are vulnerable to prototype pollution. The function `merge` 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.merge (npm): before 4.6.2

## References

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

## Sources

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

---

Page: https://cve.day/GHSA-h726-x36v-rx45 · Whole record: https://cve.day/GHSA-h726-x36v-rx45.json · Rebuilt by cve.day 2026-11-25T22:56:45.552Z
