{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-7637","id":"CVE-2020-7637","title":"Prototype pollution in class-transformer","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.","descriptionLong":"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.","published":"2020-04-06T12:34:54.000Z","updated":"2026-10-20T10:53:30.503740296Z","reserved":"2020-01-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["class-transformer"],"affectedProducts":[{"vendor":"n/a","product":"class-transformer","defaultStatus":null,"versions":[{"status":"affected","version":"All versions prior to version 0.3.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"class-transformer","purl":"pkg:npm/class-transformer","ranges":["<0.3.1"],"fixed":["0.3.1"],"advisory":"GHSA-6gp3-h3jj-prx4"}],"cwes":["CWE-1321","CWE-915"],"aliases":["GHSA-6gp3-h3jj-prx4","SNYK-JS-CLASSTRANSFORMER-564431"],"references":[{"url":"https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7637","tags":["advisory"]},{"url":"https://github.com/typestack/class-transformer","tags":["package"]},{"url":"https://github.com/typestack/class-transformer/blob/a650d9f490573443f62508bc063b857bcd5e2525/src/ClassTransformer.ts#L29-L31,","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01188,"epssPercentile":0.68531,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-7637","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7637","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-7637","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6gp3-h3jj-prx4","ok":true,"note":"GHSA-6gp3-h3jj-prx4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-7637","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}