Description
lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Recommendation
No fix is available yet. Followings are affected versions:
- <= 1.0.0
References
Could your website be exposed too?
SmartScanner can check your website for Command Injection in lodash - lodash-template and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Command Injection in lodash - lodash-es - CVE-2021-23337
- Command Injection in lodash - CVE-2021-23337
- GraphiQL introspection schema template injection attack - CVE-2021-41248
- lodash vulnerable to Code Injection via `_.template` imports key names - CVE-2026-4800
You might also like:
See something that needs correcting? Let us knowUpdated August 12, 2025


