{"id":"GHSA-779f-wgxg-qr8f","aliases":[],"status":"published","title":"Prototype Pollution in lodash.mergewith","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.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.6.2 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321"],"published":"2020-09-03T18:10:22Z","modified":"2023-01-09T05:04:20Z","fixes":[{"ecosystem":"npm","package":"lodash.mergewith","fixed_in":["4.6.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"lodash.mergewith","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.2"}]}]},{"source":"osv","ecosystem":"npm","package":"lodash.mergewith","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.6.2"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/1071","tags":["web"]},{"url":"https://github.com/advisories/GHSA-779f-wgxg-qr8f"}],"sources":{"ghsa":[{"id":"GHSA-779f-wgxg-qr8f","title":"Prototype Pollution in lodash.mergewith","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.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.6.2 or later.","status":"published","published":"2020-09-03T18:10:22Z","modified":"2023-01-09T05:04:20Z","cwes":["CWE-1321"],"updated_at":"2026-11-02T14:36:09.554044Z"}],"osv":[{"id":"GHSA-779f-wgxg-qr8f","title":"Prototype Pollution in lodash.mergewith","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.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.6.2 or later.","status":"published","published":"2020-09-03T18:10:22Z","modified":"2020-08-31T18:46:16Z","cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:40.657155Z"}]}}
