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
- GHSA-35jh-r3h4-6jhm
- snyk.io
- www.oracle.com
- cert-portal.siemens.com
- security.netapp.com
- CVE-2021-23337
- CWE-77
- CWE-94
- CAPEC-310
- OWASP 2021-A3
- OWASP 2021-A6
Related Issues
- Command Injection in lodash - CVE-2021-23337
- json-logic-js Command Injection vulnerability - CVE-2021-4329
- Command Injection Vulnerability in systeminformation (GHSA-m57p-p67h-mq74) - CVE-2020-26274
- Prototype Pollution in lodash (GHSA-jf85-cpcp-j695) 2 - CVE-2019-10744
- Tags:
- npm
- lodash-es
Anything's wrong? Let us know Last updated on August 12, 2025