Advisory record · GHSA-35jh-r3h4-6jhm

Command Injection in lodash

CVSS 7.2 HighCriticalEPSS 0.21 · 97th percentile

Critical, because:

  • CVSS score 7.2 (7.0 or more) and EPSS 0.21 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical

Published by the GitHub Advisory Database at 6 May 2021, 16:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
lodashnpm<4.17.214.17.21
lodash-esnpm<4.17.214.17.21
lodash.templatenpm<=4.5.0No fixed version yet
lodash-templatenpm<=1.0.0No fixed version yet
lodash-railsRubyGems<4.17.214.17.21
Identifiers
GHSA-35jh-r3h4-6jhm · CVE-2021-23337
Weakness (CWE)
CWE-77 · CWE-94
Published
6 May 2021
Updated
17 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Lodash versions before 4.17.21 (npm lodash, lodash-es, and RubyGems lodash-rails) are vulnerable to command injection through the template function. The source gives few details about what an attacker must supply or what conditions are needed. Upgrade lodash, lodash-es, and lodash-rails to 4.17.21 or later. The lodash-template (1.0.0 and earlier) and lodash.template (4.5.0 and earlier) packages have no fixed version listed.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.2 High 3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C CNA (snyk)
  • CISA KEV Not listed.
  • EPSS 0.21, the 97th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:33 UTC First seen by agentprime
  2. 31 Oct 2026, 13:33 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.