Is lodash.template 4.0 vulnerable?
npm · 3 releases from 4.0.0 to 4.0.2 · latest lodash.template is 4.18.1 · checked 2 Nov 2026
Yes: 2 known advisories
Yes. lodash.template 4.0.2, the last 4.0 release, is affected by 2 known security advisories (2 high), including CVE-2026-4800, CVE-2021-23337. At least one has no fixed release yet.
Advisories affecting lodash.template 4.0.2
lodash vulnerable to Code Injection via `_.template` imports key names
- Affected
- >=4.0.0 <4.18.0
- Fixed in
- 4.18.0
Command Injection in lodash
- Affected
- <=4.5.0
- Fixed in
- No fix released
Which of your client projects are still on lodash.template 4.0?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact lodash.template version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other lodash.template versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.