Vulnerabilities/

@phun-ky/defaults-deep Has a Prototype Pollution issue via Unsafe Recursive Property Merging

Severity:
High

Description

A prototype pollution vulnerability exists in @phun-ky/defaults-deep prior to version 2.0.5.

The library recursively merged user-supplied objects without filtering unsafe property names such as __proto__, constructor, and prototype. An attacker able to supply crafted input could cause properties to be written to Object.prototype, resulting in prototype pollution affecting all objects within the running process.

Recommendation

Update the @phun-ky/defaults-deep package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@phun-ky/defaults-deep
Anything's wrong? Let us know Last updated on July 31, 2026