Wiz Agents & Workflows are here

CVE-2021-23337
JavaScript vulnerability analysis and mitigation

Overview

Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function. The vulnerability was discovered on November 17, 2020 and publicly disclosed on February 15, 2021 with CVE identifier CVE-2021-23337. This vulnerability affects all versions of Lodash prior to version 4.17.21 (NVD, CVE).

Technical details

The vulnerability exists in the template function of Lodash library. The CVSS v3.1 base score is 7.2 (High), with the following metrics: Attack Vector: Network, Attack Complexity: Low, Privileges Required: High, User Interaction: None, Scope: Unchanged, and Impact scores of High for Confidentiality, Integrity and Availability. A proof of concept exploit exists that demonstrates how the template function can be manipulated to achieve command injection (Snyk).

Impact

A successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The vulnerability allows attackers with sufficient privileges to execute arbitrary commands via the template function (NetApp).

Mitigation and workarounds

The recommended mitigation is to upgrade Lodash to version 4.17.21 or higher. Multiple vendors have released patches and updates to address this vulnerability in their products that use Lodash (NetApp).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34220CRITICAL9.3
  • JavaScriptJavaScript
  • @mikro-orm/core
NoYesMar 29, 2026
CVE-2026-34221HIGH8.3
  • JavaScriptJavaScript
  • @mikro-orm/core
NoYesMar 29, 2026
GHSA-7fqq-q52p-2jjgMEDIUM6.5
  • JavaScriptJavaScript
  • opencc
NoYesMar 29, 2026
CVE-2026-34224LOW2.1
  • JavaScriptJavaScript
  • parse-server
NoYesMar 29, 2026
GHSA-53p3-c7vp-4mccLOW2.1
  • JavaScriptJavaScript
  • action_text-trix
NoYesMar 29, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management