Impact:
Lodash versions 4.17.23 and earlier are vulnerable to prototype pollution in the _.unset and _.omit functions. The fix for (CVE-2025-13465: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg) only guards against string key members, so an attacker can bypass the check by passing array-wrapped path segments. This allows deletion of properties from built-in prototypes such as Object.prototype, Number.prototype, and String.prototype.
The issue permits deletion of prototype properties but does not allow overwriting their original behavior. Patches:
This issue is patched in 4.18.0. Workarounds:
None.
Upgrade to the patched version.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 4
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Lodash Lodash
cpe:2.3:a:lodash:lodash:*:*:*:*:*:node.js:*:*
|
4.0.0
|
4.17.23
|
|
Lodash Lodash-Amd
cpe:2.3:a:lodash:lodash-amd:*:*:*:*:*:node.js:*:*
|
4.0.0
|
4.17.23
|
|
Lodash Lodash-Es
cpe:2.3:a:lodash:lodash-es:*:*:*:*:*:node.js:*:*
|
4.0.0
|
4.17.23
|
|
Lodash Lodash.Unset
cpe:2.3:a:lodash:lodash.unset:*:*:*:*:*:node.js:*:*
|
4.0.0
|
— |