---
title: "lodash.template security advisories"
description: "2 known security advisories for lodash.template, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/lodash.template/security
lang: en
---

[Packages](https://inlinr.com/packages)

# lodash.template

4.18.1 · 1 Apr 2026 MIT 4M / week [Repository](https://github.com/lodash/lodash) [Homepage](https://lodash.com/) [npm](https://www.npmjs.com/package/lodash.template) [Atom feed](https://inlinr.com/packages/feed/lodash.template)

Deprecated by its maintainers: This package is deprecated. Use https://socket.dev/npm/package/eta instead. [What to use instead](https://inlinr.com/packages/lodash.template#alternatives)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest | Where it stands                                                           |
| ---- | ------ | ------------------------------------------------------------------------- |
|      | 4.18.1 | Safe from 4.18.0                                                          |
|      | 3.6.2  | 2 open advisories, worst high  · last release Jun 2015, no longer updated |

- High  
[lodash vulnerable to Code Injection via \`\_.template\` imports key names](https://inlinr.com/advisories/GHSA-r5fr-rjxr-66jc)GHSA-r5fr-rjxr-66jc · 1 Apr 2026  
fixed in 4.18.0
- High  
[Command Injection in lodash](https://inlinr.com/advisories/GHSA-35jh-r3h4-6jhm)GHSA-35jh-r3h4-6jhm · 6 May 2021  
fixed in 4.18.0

### Quality and security signals

What [npm](https://www.npmjs.com/package/lodash.template) and [deps.dev](https://deps.dev/npm/lodash.template) say about the latest release. Signals, not a verdict.

- Licence  
[MIT](https://spdx.org/licenses/MIT.html)
- Provenance  
No provenance statement on 4.18.1  
Says where the release was built and from which commit. It does not say the code is safe.
- Published by  
[jdalton](https://www.npmjs.com/~jdalton)
- Maintainers on npm  
[mathias](https://www.npmjs.com/~mathias), [jdalton](https://www.npmjs.com/~jdalton)
- Size  
[50 kB unpacked , 4 files](https://www.npmjs.com/package/lodash.template/v/4.18.1?activeTab=code)
- GitHub stars  
61,353 on [lodash/lodash](https://github.com/lodash/lodash)
- Last release  
[4.18.1](https://www.npmjs.com/package/lodash.template/v/4.18.1), 1 April 2026
- OpenSSF Scorecard  
[7.5 / 10](https://scorecard.dev/viewer/?uri=github.com%2Flodash%2Flodash) · 24 Aug 2026  
Lowest: CII-Best-Practices 0, Token-Permissions 0, Pinned-Dependencies 4  
Grades the repository's practices (reviews, CI, branch protection), not the package's code.

Registry facts last checked 16 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
