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.
[
{
"product": "class-transformer",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "All versions prior to version 0.3.1"
}
]
}
]