lodash
npm9 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting lodashpage 1 of 1
- CVE-2018-16487MEDIUMCVSS 5.6EG 5.6✓ Fixed in 4.17.112019-02-01
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.
- CVE-2018-3721MEDIUMCVSS 6.5✓ Fixed in 4.17.52018-06-07
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__, …
- CVE-2019-1010266MEDIUMCVSS 6.5EG 6.5✓ Fixed in 4.17.112019-07-17
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 …
- CVE-2019-10744CRITICALCVSS 9.1EG 9.1✓ Fixed in 4.17.122019-07-26
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.
- CVE-2020-28500MEDIUMCVSS 5.3EG 5.3✓ Fixed in 4.17.212021-02-15
Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
- CVE-2020-8203HIGHCVSS 7.4EG 7.4✓ Fixed in 4.17.192020-07-15
Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.
- CVE-2021-23337HIGHCVSS 7.2EG 7.2✓ Fixed in 4.17.212021-02-15
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
- CVE-2026-2950MEDIUMCVSS 6.5EG 6.5✓ Fixed in 4.18.02026-03-31
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 agai…
- CVE-2026-4800HIGHCVSS 8.1EG 8.1✓ Fixed in 4.18.02026-03-31
Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the sam…
Check whether lodash is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for lodash CVEs against the assets you own.
Start Free Scan →