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.
Remediation
References
https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431
https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e
Related Vulnerabilities
CVE-2019-15608 Vulnerability in npm package yarn
CVE-2022-0341 Vulnerability in npm package vditor
CVE-2022-40084 Vulnerability in maven package org.opencrx:opencrx-core
CVE-2020-24660 Vulnerability in npm package node-lemonldap-ng-handler
CVE-2018-1002204 Vulnerability in maven package org.webjars:adm-zip