Vulnerabilities/

Regular Expression Denial of Service (ReDoS) in lodash

Severity:
Medium

Description

All versions of package lodash prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.

Recommendation

Update the lodash package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
lodash
Anything's wrong? Let us know Last updated on September 29, 2025

This issue is available in SmartScanner Professional

See Pricing