VDB
Sign up
HIGH7.5

GHSA-h466-j336-74wx

Prototype Pollution in mpath

Quick fix

GHSA-h466-j336-74wx — mpath: upgrade to the fixed version with the command below.

npm install mpath@0.5.1

Details

Versions of `mpath` before 0.5.1 are vulnerable to prototype pollution. Provided certain input `mpath` can add or modify properties of the `Object` prototype. These properties will be present on all objects.

## Recommendation

Update to version `0.5.1` or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/mpath
Introduced in: 0Fixed in: 0.5.1
Fixnpm install mpath@0.5.1

References