What’s Vulnerable › Vulnerabilities
CVE-2021-23413: Denial of Service (DoS)
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-07-25 · updated 2026-06-17
Description
This affects the package jszip before 3.7.0. Crafting a new zip file with filenames set to Object prototype values (e.g __proto__, toString, etc) results in a returned object with a modified prototype instance.
Affected products
- jszip: before 3.7.0 — fixed in 3.7.0
How to fix
Upgrade to a fixed version: jszip 3.7.0. Check the vendor advisory for mitigations.
References
- https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88
- https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36
- https://github.com/Stuk/jszip/pull/766
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498
- https://snyk.io/vuln/SNYK-JS-JSZIP-1251497
- https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88
- https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36
- https://github.com/Stuk/jszip/pull/766
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498
- https://snyk.io/vuln/SNYK-JS-JSZIP-1251497
Get alerted when CVE-2021-23413 or the next vulnerability affects your stack