Overview
About vulnerability
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 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.
Details
- Affected product:
- @microsoft/api-extractor , AngularJS , Lodash , Node.js , babel , babel-plugin-proto-to-assign , babel-plugin-transform-proto-to-assign , broccoli-babel-transpiler , cli-table2 , ember-cli , ember-cli-preprocess-registry , firefox-profile , fireworm , inquirer , inquirer.js , jpm , karma , npm , protractor , rushstack , testem
- Affected packages:
- inquirer @ 0.5.1 (+213 more)