# CVE-2020-8158: TypeORM vulnerable to MAID and Prototype Pollution

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.12%, higher than 82% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-18T20:12:16.000Z
- Modified: 2026-06-17T03:25:57.653Z
- Also known as: GHSA-pf2j-9qmp-jqr2
- Weaknesses: CWE-471, CWE-1321
- Assigned by: hackerone

## Description

Prototype pollution vulnerability in the TypeORM package < 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.

(As written by CVE List.)

## Affected

- typeorm: Fixed Version: 0.2.25
- typeorm (npm): before 0.2.25
- typeorm typeorm: before 0.2.25

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://hackerone.com/reports/869574> (exploit, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8158> (advisory)

## Sources

- CVE List: [CVE-2020-8158](https://www.cve.org/CVERecord?id=CVE-2020-8158), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-pf2j-9qmp-jqr2](https://github.com/advisories/GHSA-pf2j-9qmp-jqr2), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-8158](https://nvd.nist.gov/vuln/detail/CVE-2020-8158), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8158 · Whole record: https://cve.day/CVE-2020-8158.json · Rebuilt by cve.day 2026-11-25T22:57:54.820Z
