p PatchFirst

PatchFirst · Latest vulnerabilities

lodash.template vulnerabilities

Vulnerabilities published for lodash.template in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. CVE-2026-4800

    High · CVSS 8.1EPSS 2.81%Fix available

    lodash vulnerable to Code Injection via `_.template` imports key names

    The fix for CVE-2021-23337 added validation for the variable option in _.template but did not apply the same validation to options.imports key names, and both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in, so if Object.prototype has been polluted by another vector the polluted keys are copied into the imports object and passed to Function(). The

    • Update to 4.18.0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →