ADVISORIES

GitHub Advisory Database

GHSA-xxjr-mmjv-4gpg

Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions

Moderate CVE-2025-13465

Details

Impact

The _.unset, _.omit, and _.pullAt functions are vulnerable to prototype pollution. An attacker can pass crafted paths which cause Lodash to delete methods from global prototypes.

The issue permits deletion of properties but does not allow overwriting their original behavior.

Patches

The issue is patched from 4.17.23 to 4.18.0 depending on the package: lodash, lodash-es, and lodash-amd in 4.17.23, and the standalone lodash.unset and lodash.omit packages in 4.18.0.

Workarounds

None. Upgrade to the patched version.

Affected packages

EcosystemPackageAffected versions
npmlodash
From 4.0.0 before 4.17.23 (fixed in 4.17.23)
npmlodash-amd
From 4.0.0 before 4.17.23 (fixed in 4.17.23)
npmlodash-es
From 4.0.0 before 4.17.23 (fixed in 4.17.23)
npmlodash.omit
From 4.0.0 before 4.18.0 (fixed in 4.18.0)
npmlodash.unset
From 4.0.0 before 4.18.0 (fixed in 4.18.0)

References