Skip to content
OpenAdvisories
High GHSA-h726-x36v-rx45

Prototype Pollution in lodash.merge

Published Sep 3, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm lodash.merge < 4.6.2 4.6.2 GHSA-h726-x36v-rx45

References