Every CVE Search/ Get API key

CVE-2020-8158

TypeORM vulnerable to MAID and Prototype Pollution

9.8 CriticalPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.12%Up 1.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2020-8158
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-471, CWE-1321
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2020-8158
Weakness
CWE-471
Updated
2026-11-02
EUVDEUVD-2021-1149 No score

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.

Record
EUVD-2021-1149
Updated
2026-11-03
GitHub AdvisoriesGHSA-pf2j-9qmp-jqr2 9.8

TypeORM vulnerable to MAID and Prototype Pollution

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.

Record
GHSA-pf2j-9qmp-jqr2
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-471, CWE-1321
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2020-8158
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-pf2j-9qmp-jqr2 9.8

TypeORM vulnerable to MAID and Prototype Pollution

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.

Record
GHSA-pf2j-9qmp-jqr2
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-1321, CWE-471
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
typeorm
npm
before 0.2.25
0.2.25

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubopen-flaw/CVE-2020-81582025-12-08

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-8158 is a critical vulnerability (CVSS 9.8) in Typeorm, published September 18, 2020. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 2.12%, the 81st percentile. Fixed in typeorm 0.2.25.

References

MoveEnter Open