Wiz Agents & Workflows are here

CVE-2021-23413
JavaScript vulnerability analysis and mitigation

Overview

CVE-2021-23413 affects the JSZip package versions before 3.7.0. The vulnerability was discovered and disclosed on April 18, 2021, and published on July 25, 2021. The vulnerability impacts applications using JSZip for handling ZIP files (NVD, CVE).

Technical details

The vulnerability occurs when crafting a new zip file with filenames set to Object prototype values (e.g., proto, toString, etc.), which results in a returned object with a modified prototype instance. This is a prototype pollution vulnerability that could lead to denial of service conditions. The vulnerability has a CVSS v3.1 base score of 5.3 (Medium severity) (Snyk).

Impact

The vulnerability can lead to Denial of Service (DoS) conditions where performance is reduced or there are interruptions in resource availability. While repeated exploitation is possible, the attacker cannot completely deny service to legitimate users. The resources remain partially available or fully available intermittently (Snyk).

Mitigation and workarounds

The recommended mitigation is to upgrade JSZip to version 3.7.0 or higher. The fix involves using a null prototype object for the files property to prevent filenames from overriding object methods that would exist on a normal object (GitHub PR).

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

GHSA-3hfp-gqgh-xc5gCRITICAL9.6
  • JavaScriptJavaScript
  • @lightdash/cli
NoYesApr 02, 2026
CVE-2026-34950CRITICAL9.1
  • JavaScriptJavaScript
  • fast-jwt
NoNoApr 02, 2026
CVE-2026-34752HIGH8.7
  • JavaScriptJavaScript
  • haraka
NoYesApr 02, 2026
CVE-2026-34825HIGH8.5
  • JavaScriptJavaScript
  • @nocobase/plugin-workflow-sql
NoYesApr 02, 2026
GHSA-ccgf-5rwj-j3hvLOW2.1
  • JavaScriptJavaScript
  • telejson
NoYesApr 02, 2026

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