VDB
Sign up
MEDIUM6.3

GHSA-332q-7ff2-57h2

Prototype Pollution in undefsafe

Quick fix

GHSA-332q-7ff2-57h2 — undefsafe: upgrade to the fixed version with the command below.

npm install undefsafe@2.0.3

Details

undefsafe before 2.0.3 is vulnerable to Prototype Pollution. The 'a' function could be tricked into adding or modifying properties of Object.prototype using a `__proto__` payload.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/undefsafe
Introduced in: 0Fixed in: 2.0.3
Fixnpm install undefsafe@2.0.3

References