CVE-2020-28500
MediumCVSS 5.3Exploitation Probability (EPSS)
Very high risk94th percentile - higher than 94% of all known CVEs
Summary
Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
Risk Assessment
ReDoS attack can cause significant slowdown or complete hang of the application, leading to service unavailability.
Recommendation
It is recommended to upgrade Lodash to version 4.17.21 or later and avoid processing untrusted input through these functions.
Other vulnerabilities in Lodash
See all- CVE-2021-23337High
Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
- CVE-2026-4800High
Lodash versions before 4.18.0 do not properly validate key names in the options.imports option of _.template. An attacker can inject default-parameter expressions that execute arbitrary code during template compilation. Additionally, prototype pollution can lead to similar attacks.
- CVE-2026-2950Medium
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 guarded against string key members, but an attacker can bypass it by using array-wrapped path segments. This allows deletion of properties from built-in prototypes like Object.prototype.
- CVE-2025-13465Medium
A vulnerability in Lodash versions 4.0.0 through 4.17.22 allows prototype pollution via the _.unset and _.omit functions. An attacker can pass crafted paths that cause Lodash to delete methods from global prototypes.
Original NVD description (English source)
Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

