Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNews
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
904 articles · 101767 vulns · 36/41 feeds (7d)
← Back to list
8.1
CVE-2026-4800PATCHED

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

Description

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.

Affected Products

VendorProductVersions
—lodashnpm/lodash: >= 4.0.0, <= 4.17.23, npm/lodash-es: >= 4.0.0, <= 4.17.23, npm/lodash-amd: >= 4.0.0, <= 4.17.23, npm/lodash.template: >= 4.0.0, < 4.18.0

Also Affects

Downstream vendors/products affected by this vulnerability

VendorProductSourceConfidence
npmlodash.templateGHSA85%
npmlodash-esGHSA85%
npmlodash-amdGHSA85%

References

  • https://cna.openjsf.org/security-advisories.html
  • https://github.com/advisories/GHSA-35jh-r3h4-6jhm
  • https://github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c
CVSS 3.18.1 HIGH
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA KEV❌ No
Actively exploited❌ No
Patch available
lodash@4.18.0lodash-es@4.18.0lodash-amd@4.18.0lodash.template@4.18.0
CWECWE-94
PublishedMar 31, 2026
Last enriched9h ago
Trending Score0
Source articles0
Independent0
Info Completeness5/14
Missing: vendor, product, versions, epss, kev, exploit, patch, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Pin to Dashboard

Verification

State: verified
Confidence: 100%

Vulnerability Timeline

CVE Published
Mar 31, 2026
Patch Available
Apr 1, 2026
Discovered by ZDM
Apr 1, 2026