{"id":"GHSA-779f-wgxg-qr8f","aliases":["GHSA-779f-wgxg-qr8f"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution in lodash.mergewith","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.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.6.2 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.6.2 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T18:10:22.000Z","modified":"2020-08-31T18:46:16.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.6.2"}],"ecosystem":"npm","package":"lodash.mergewith","purl":"pkg:npm/lodash.mergewith","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1071","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-779f-wgxg-qr8f","url":"https://github.com/advisories/GHSA-779f-wgxg-qr8f","licence":"CC-BY-4.0","modified":"2020-08-31T18:46:16.000Z"}],"updatedAt":"2026-11-25T22:56:44.496Z"}