Medium
node-jszip — 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
- node-jszip
- Affected versions
- 3.1.4+dfsg-1, 3.10.1+dfsg-2, 3.2.2+dfsg-1, 3.5.0+dfsg-2, 3.7.1+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23413
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:58 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:UBUNTU-CVE-2021-23413
node-jszip
Fixed versions: Not specified
node-jszip
Fixed versions: Not specified
node-jszip
Fixed versions: Not specified
node-jszip
Fixed versions: Not specified
node-jszip
Fixed versions: Not specified
node-jszip
Fixed versions: Not specified
node-jszip
Fixed versions: Not specified
Complete source record
{
"id": "147a58578a578f3fd0fdc76e710ce83d53c59ab87ffa0b9ef6660d8b2d654436",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-23413",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-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:UBUNTU-CVE-2021-23413",
"products": [
{
"name": {
"value": "node-jszip",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.1.4+dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-jszip",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.2.2+dfsg-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-jszip",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.5.0+dfsg-2",
"evidence": "/affected/2/versions"
},
{
"value": "3.7.1+dfsg-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-jszip",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.10.1+dfsg-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-jszip",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.10.1+dfsg-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "node-jszip",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.10.1+dfsg-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "node-jszip",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.10.1+dfsg-2",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2021-23413",
"aliases": [
"UBUNTU-CVE-2021-23413"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "low"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jszip",
"purl": "pkg:deb/ubuntu/node-jszip?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"3.1.4+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jszip",
"binary_version": "3.1.4+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jszip",
"purl": "pkg:deb/ubuntu/node-jszip?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"3.2.2+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jszip",
"binary_version": "3.2.2+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jszip",
"purl": "pkg:deb/ubuntu/node-jszip?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.5.0+dfsg-2",
"3.7.1+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jszip",
"binary_version": "3.7.1+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jszip",
"purl": "pkg:deb/ubuntu/node-jszip?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.10.1+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jszip",
"binary_version": "3.10.1+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jszip",
"purl": "pkg:deb/ubuntu/node-jszip?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.10.1+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jszip",
"binary_version": "3.10.1+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jszip",
"purl": "pkg:deb/ubuntu/node-jszip?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.10.1+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jszip",
"binary_version": "3.10.1+dfsg-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-jszip",
"purl": "pkg:deb/ubuntu/node-jszip?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.10.1+dfsg-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23413.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-jszip",
"binary_version": "3.10.1+dfsg-2"
}
]
}
}
],
"modified": "2026-10-17T12:56:19.582144075Z",
"provider": "osv",
"upstream": [
"CVE-2021-23413"
],
"references": [
"https://ubuntu.com/security/CVE-2021-23413",
"https://github.com/Stuk/jszip/pull/766",
"https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499",
"https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88",
"https://snyk.io/vuln/SNYK-JS-JSZIP-1251497",
"https://www.cve.org/CVERecord?id=CVE-2021-23413"
]
},
"related_cves": [
{
"value": "CVE-2021-23413",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355266,
"published_at": "2021-07-25T13:15:00+00:00"
}