Skip to main content
npm (Node.js)

lodash.template Known Vulnerabilities & Fixes

lodash.template has 2 known security vulnerabilities in npm (Node.js). Upgrade to version 4.18.0 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

2 Vulnerabilities

Recommended safe version: 4.18.0

Upgrading to 4.18.0 or later resolves all 2 known vulnerabilities in lodash.template. Run: npm install lodash.template@4.18.0

Is lodash.template in your project?

Check if you're affected and upgrade to 4.18.0 to stay secure.

2
Total
0
Critical
2
High
0
Medium
0
Low

Security Summary

  • 2 affected version ranges have been identified across these 2 advisories.
  • 50% of known issues have a published fixed version.
  • Highest exploit-probability (EPSS) score for lodash.template: 20.6%.
  • Remediation: npm update lodash.template

Vulnerabilities

2 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed May 6, 2021, most recently Apr 1, 2026 (1791 days apart).

CVE / GHSASeverity
CVE-2021-23337
Command Injection in lodash
Affected
All versions
Fixed in
No fix available
HIGH
CVE-2026-4800
lodash vulnerable to Code Injection via `_.template` imports key names
Affected
All versions
Fixed in
4.18.0
HIGH

About This Data

Vulnerability data for lodash.template is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Related npm (Node.js) Packages

Other packages in this ecosystem, ranked by shared vulnerabilities where available.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of lodash.template.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed