Description
lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Recommendation
Update the lodash-es package to the latest compatible version. Followings are version details:
- Affected version(s): < 4.17.21
- Patched version(s): 4.17.21
References
Could your website be exposed too?
SmartScanner can check your website for Command Injection in lodash - lodash-es and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Command Injection in lodash - lodash-template - CVE-2021-23337
- Command Injection in lodash - CVE-2021-23337
- lodash vulnerable to Code Injection via `_.template` imports key names - lodash-es - CVE-2026-4800
- Command injection in launchpad - CVE-2021-23330
You might also like:
See something that needs correcting? Let us knowUpdated August 12, 2025


