ADVISORIES

GitHub Advisory Database

GHSA-jg8v-48h5-wgxg

jszip Vulnerable to Prototype Pollution

Moderate CVE-2021-23413

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.

Affected packages

EcosystemPackageAffected versions
npmjszip
From 3.0.0 before 3.7.0 (fixed in 3.7.0)
npmjszip
All versions before 2.7.0 (fixed in 2.7.0)

References