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://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e
https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431
Related Vulnerabilities
CVE-2011-4969 Vulnerability in maven package org.webjars.bower:jquery
CVE-2021-41182 Vulnerability in maven package org.webjars.bowergithub.jquery:jquery-ui
CVE-2022-23496 Vulnerability in maven package nl.basjes.parse.useragent:yauaa-elastic-udfs-parent
CVE-2023-28443 Vulnerability in npm package directus
CVE-2019-10755 Vulnerability in maven package org.pac4j:pac4j-saml