CVE-2021-23568
JavaScript vulnerability analysis and mitigation

Overview

The package extend2 before version 1.0.1 was discovered to contain a Prototype Pollution vulnerability via the extend function due to unsafe recursive merge. The vulnerability was assigned CVE-2021-23568 and was disclosed on January 10, 2022 (NVD).

Technical details

The vulnerability exists in the extend function's recursive merge functionality where insufficient input sanitization allows for prototype pollution. The issue received a CVSS v3.1 base score of 9.8 (CRITICAL) from NIST and 7.3 (HIGH) from Snyk, with the attack vector being network-based, requiring no privileges or user interaction (NVD).

Impact

A successful exploitation of this vulnerability could allow an attacker to modify properties within the global prototype chain, potentially leading to denial of service (DoS) at minimum. The vulnerability affects all versions of extend2 package before 1.0.1 (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 1.0.1 of extend2. The fix involves adding a check to prevent proto property copying, as demonstrated in the patch commit. Users are advised to upgrade to version 1.0.1 or later (GitHub Patch).

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-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

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