CVE-2021-23413Jszip Project Jszip
Medium 5.3 No auth needed
Follow: this CVE · Jszip Project · Jszip Project Jszip We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jul 25, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Jszip.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | jszip |
≥ 3.0.0 < 3.7.0 |
3.7.0 |
npm install jszip@3.7.0 |
| npm | jszip |
< 2.7.0 |
2.7.0 |
npm install jszip@2.7.0 |
Per OSV / GitHub Advisories (GHSA-jg8v-48h5-wgxg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jszip_project | jszip | < 3.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory