{"id":"GHSA-6gp3-h3jj-prx4","summary":"Prototype pollution in class-transformer","details":"class-transformer through 0.2.3 is vulnerable to Prototype Pollution. The 'classToPlainFromExist' function could be tricked into adding or modifying properties of 'Object.prototype' using a '__proto__' payload.","aliases":["CVE-2020-7637","SNYK-JS-CLASSTRANSFORMER-564431"],"modified":"2026-07-08T06:49:53.325567657Z","published":"2020-04-07T15:47:40Z","database_specific":{"github_reviewed_at":"2020-04-07T15:46:31Z","nvd_published_at":"2020-04-06T13:15:00Z","cwe_ids":["CWE-1321","CWE-915"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7637"},{"type":"WEB","url":"https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e"},{"type":"PACKAGE","url":"https://github.com/typestack/class-transformer"},{"type":"WEB","url":"https://github.com/typestack/class-transformer/blob/a650d9f490573443f62508bc063b857bcd5e2525/src/ClassTransformer.ts#L29-L31,"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431"}],"affected":[{"package":{"name":"class-transformer","ecosystem":"npm","purl":"pkg:npm/class-transformer"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-6gp3-h3jj-prx4/GHSA-6gp3-h3jj-prx4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}