GHSA-23wx-cgxq-vpwx
Prototype Pollution in dset
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | dset | < 3.1.2 | 3.1.2 |
| Maven | org.webjars.npm:dset | < 3.1.2 | 3.1.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.