VDB
Sign up
HIGH

GHSA-5947-m4fg-xhqg

Prototype Pollution in lodash.mergewith

Quick fix

GHSA-5947-m4fg-xhqg — lodash.mergewith: upgrade to the fixed version with the command below.

npm install lodash.mergewith@4.6.1

Details

Versions of `lodash.mergewith` before 4.6.1 are vulnerable to Prototype Pollution. The function 'mergeWith' may allow a malicious user to modify the prototype of `Object` via `__proto__` causing the addition or modification of an existing property that will exist on all objects.

## Recommendation

Update to version 4.6.1 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/lodash.mergewith
Introduced in: 0Fixed in: 4.6.1
Fixnpm install lodash.mergewith@4.6.1

References