Description
class-transformer before 0.3.1 allow attackers to perform Prototype Pollution. The classToPlainFromExist function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | class-transformer | All versions prior to version 0.3.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | class-transformer | < 0.3.1 | 0.3.1 | GHSA-6gp3-h3jj-prx4 |