New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

Patch on npm lodash 4.17.21 fixing 1 CVE

Verification

Checks and measurements Socket ran on this patch, comparing the package before and after the patch is applied.

Exploits

Before patch

1/1 reproduced

After patch

1/1 blocked

Tests

Before patch

137/137 passed

After patch

137/137 passed

Patch size

Lines changed

+44−4in 3 files

Vulnerabilities Fixed

Severity
Advisory
Summary
High
GHSA-r5fr-rjxr-66jc

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

CVE: CVE-2026-4800

Instructions

Apply this patch with the Socket patch CLI.

  • Install the CLI: curl -fsSL https://install.socket.dev/patch | sh
  • Run socket-patch get GHSA-r5fr-rjxr-66jc in your repository to download and apply the patch