Skip to content
OpenAdvisories
High · 7.3 CVE-2026-54737 EUVD-2026-51592GHSA-mj3g-7xcc-x4vh

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

Published Jul 31, 2026 · Updated Jul 31, 2026 · Assigned by GitHub_M

Description

@phun-ky/defaults-deep is a library like lodash defaultsDeep with array preservation and no lodash dependency. Prior to 2.0.5, defaultsDeep() recursively merges user-supplied objects without filtering proto, constructor, and prototype, allowing properties to be written to Object.prototype. This issue is fixed in version 2.0.5.

Affected products

VendorProductAffectedFixed
phun-ky defaults-deep < 2.0.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @phun-ky/defaults-deep < 2.0.5 2.0.5 GHSA-mj3g-7xcc-x4vh

References