Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23413
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-23413
Complete source record
{
"id": "48dba157a5c34aaf6d6b7f74a078abdab8e1eeb1314382dd28023d2aaa7f1600",
"url": "https://osv.dev/vulnerability/CVE-2021-23413",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23413",
"summary": "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.",
"evidence": "osv:CVE-2021-23413",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-23413",
"aliases": [
"CVE-2021-23413",
"GHSA-jg8v-48h5-wgxg"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/stuk/jszip",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e5b3f0ddaa8182cd6ea253e97f678b9f36d0d8ac"
},
{
"fixed": "22357494f424178cb416cdb7d93b26dd4f824b36"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:jszip_project:jszip:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.7.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "22357494f424178cb416cdb7d93b26dd4f824b36"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.6.0",
"v3.5.0",
"v3.4.0",
"v3.3.0",
"v3.2.2",
"v3.2.1",
"v3.2.0",
"v2.5.0",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23413.json"
}
}
],
"modified": "2026-10-20T10:54:32.666878736Z",
"provider": "osv",
"references": [
"https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88",
"https://github.com/Stuk/jszip/pull/766",
"https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498",
"https://snyk.io/vuln/SNYK-JS-JSZIP-1251497"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-23413",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385539,
"published_at": "2021-07-25T13:15:07.39+00:00"
}