Approved changes feed: RSS · Atom

cpe:2.3:a:lodash:lodash.template:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorLodash (116b040a-d129-527f-bca2-0cc13672da41)
ProductLodash.Template (f19cbf97-8a67-53ff-a62d-9d89be763b19)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-4800 vulnerable 2026-06-08 08:07:02.391230 lodash vulnerable to Code Injection via `_.template` imports key names
HIGH (8.1)
Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. 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. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function(). Patches: Users should upgrade to version 4.18.0. Workarounds: Do not pass untrusted input as key names in options.imports. Only use developer-controlled, static key names.
Published: 2026-03-31T19:25:55.987Z
Updated: 2026-08-26T12:04:55.499Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.