CVE-2026-54737

high

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.

References

https://github.com/phun-ky/defaults-deep/security/advisories/GHSA-mj3g-7xcc-x4vh

https://github.com/phun-ky/defaults-deep/releases/tag/2.0.5

https://github.com/phun-ky/defaults-deep/pull/49

https://github.com/phun-ky/defaults-deep/commit/807dba930f8718f9126cad59d949b8fd3539b059

Details

Source: Mitre, NVD

Published: 2026-07-31

Updated: 2026-07-31

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 7.3

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Severity: High