The fix for CVE-2021-23337 added validation for the variable option in _.template but did not apply the same validation to options.imports key names, and both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key n...
Product
npm lodash vulnerabilities
10 published CVES affecting npm lodash, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 10
- Critical
- 2
- High
- 2
- Medium
- 6
- Low
- 0
- Unscored
- 0
- CISA KEV
- 0
Latest npm lodash CVEs
Newest publication first
-
CriticalCVSS 9.8 EPSS 2.9%
-
MediumCVSS 5.3 EPSS 0.35%
The _.unset and _.omit functions in Lodash are vulnerable to prototype pollution. 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 protot...
-
MediumCVSS 6.9 EPSS 1.8%
The _.unset and _.omit functions in Lodash 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. The i...
-
CVE-2021-23337 Command Injection
PublishedHighCVSS 7.2 EPSS 20.2% Scanner template PoCLodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
-
MediumCVSS 5.3 EPSS 7.4% PoC
Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
-
HighCVSS 7.4 EPSS 5.2% PoC
Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.
-
CriticalCVSS 9.1 EPSS 5.0% PoC
Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.
-
MediumCVSS 6.5 EPSS 3.0% PoC
lodash prior to 4.17.11 is affected by: CWE-400: Uncontrolled Resource Consumption. The impact is: Denial of service. The component is: Date handler. The attack vector is: Attacker provides very long strings, which the library attempts to match using a regular expression. The fix...
-
MediumCVSS 5.6 EPSS 1.5% PoC
A prototype pollution vulnerability was found in lodash <4.17.11 where the functions merge, mergeWith, and defaultsDeep can be tricked into adding or modifying properties of Object.prototype.
-
MediumCVSS 6.5 EPSS 2.3% PoC
lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an ex...
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.