{"id":"GHSA-jg8v-48h5-wgxg","summary":"jszip Vulnerable to Prototype Pollution","details":"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.","aliases":["CVE-2021-23413"],"modified":"2025-01-14T09:12:20.664854Z","published":"2021-08-10T16:02:18Z","database_specific":{"github_reviewed_at":"2021-08-02T22:15:49Z","nvd_published_at":"2021-07-25T13:15:00Z","cwe_ids":["CWE-1321"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23413"},{"type":"WEB","url":"https://github.com/Stuk/jszip/pull/766"},{"type":"WEB","url":"https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36"},{"type":"PACKAGE","url":"https://github.com/Stuk/jszip"},{"type":"WEB","url":"https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-JSZIP-1251497"}],"affected":[{"package":{"name":"jszip","ecosystem":"npm","purl":"pkg:npm/jszip"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.7.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-jg8v-48h5-wgxg/GHSA-jg8v-48h5-wgxg.json"}},{"package":{"name":"jszip","ecosystem":"npm","purl":"pkg:npm/jszip"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.7.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-jg8v-48h5-wgxg/GHSA-jg8v-48h5-wgxg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}