{"id":"CVE-2020-8158","aliases":["EUVD-2021-1149","GHSA-pf2j-9qmp-jqr2"],"status":"published","title":"TypeORM vulnerable to MAID and Prototype Pollution","description":"Prototype pollution vulnerability in the TypeORM package \u003c 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0212,"percentile":0.82003,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-1321","CWE-471"],"published":"2020-09-18T20:12:16Z","modified":"2026-10-24T10:30:33Z","exploits":[{"source":"pocgithub","id":"open-flaw/CVE-2020-8158","title":"open-flaw/CVE-2020-8158","date":"2025-12-08","url":"https://github.com/open-flaw/CVE-2020-8158"}],"fixes":[{"ecosystem":"npm","package":"typeorm","fixed_in":["0.2.25"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"typeorm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.25"}]}]},{"source":"osv","ecosystem":"npm","package":"typeorm","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.25"}]}]}],"products":[{"vendor":"typeorm","product":"typeorm"}],"references":[{"url":"https://hackerone.com/reports/869574","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8158","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pf2j-9qmp-jqr2"}],"sources":{"cve":[{"id":"CVE-2020-8158","description":"Prototype pollution vulnerability in the TypeORM package \u003c 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.","status":"published","published":"2020-09-18T20:12:16Z","modified":"2024-08-04T09:48:25.595Z","cwes":["CWE-471"],"updated_at":"2026-11-02T14:35:50.545879Z"}],"euvd":[{"id":"EUVD-2021-1149","description":"Prototype pollution vulnerability in the TypeORM package \u003c 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.","status":"published","published":"2020-09-18T20:12:16Z","modified":"2024-08-04T09:48:25Z","updated_at":"2026-11-03T03:07:58.055641Z"}],"ghsa":[{"id":"GHSA-pf2j-9qmp-jqr2","title":"TypeORM vulnerable to MAID and Prototype Pollution","description":"Prototype pollution vulnerability in the TypeORM package \u003c 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.","status":"published","published":"2021-05-07T16:46:42Z","modified":"2023-01-30T05:02:48Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-471","CWE-1321"],"updated_at":"2026-11-02T14:36:27.500048Z"}],"nvd":[{"id":"CVE-2020-8158","description":"Prototype pollution vulnerability in the TypeORM package \u003c 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.","status":"published","published":"2020-09-18T21:15:12.747Z","modified":"2026-06-17T03:25:57.653Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-471","CWE-1321"],"updated_at":"2026-11-02T14:06:15.83396Z"}],"osv":[{"id":"CVE-2020-8158","description":"Prototype pollution vulnerability in the TypeORM package \u003c 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.","status":"published","published":"2020-09-18T21:15:12.747Z","modified":"2026-10-24T10:30:33.457280361Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:17.663289Z"},{"id":"GHSA-pf2j-9qmp-jqr2","title":"TypeORM vulnerable to MAID and Prototype Pollution","description":"Prototype pollution vulnerability in the TypeORM package \u003c 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.","status":"published","published":"2021-05-07T16:46:42Z","modified":"2023-11-08T04:04:14.50583Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-1321","CWE-471"],"updated_at":"2026-11-02T15:46:52.891208Z"}]}}
