{"id":"GHSA-h5mp-5q4p-ggf5","aliases":["GHSA-h5mp-5q4p-ggf5"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution in lodash.defaultsdeep","summary":"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.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.6.1 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.6.1 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T18:07:05.000Z","modified":"2020-08-31T18:46:09.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.1"}],"ecosystem":"npm","package":"lodash.defaultsdeep","purl":"pkg:npm/lodash.defaultsdeep","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1068","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h5mp-5q4p-ggf5","url":"https://github.com/advisories/GHSA-h5mp-5q4p-ggf5","licence":"CC-BY-4.0","modified":"2020-08-31T18:46:09.000Z"}],"updatedAt":"2026-11-25T22:56:45.542Z"}