GitHub Advisory Database
GHSA-23wx-cgxq-vpwx
Prototype Pollution in dset
Details
All versions of dset prior to 3.1.2 are vulnerable to Prototype Pollution via dset/merge mode, as the dset function checks for prototype pollution by validating if the top-level path contains __proto__, constructor or prototype. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | dset | All versions before 3.1.2 (fixed in 3.1.2) |
| Maven | org.webjars.npm:dset | All versions before 3.1.2 (fixed in 3.1.2) |