# typeorm (npm) vulnerabilities

4 known vulnerabilities (2 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/typeorm

## Advisories (4)

### [CVE-2026-73651](https://cve.now/CVE-2026-73651): TypeORM: migration:generate template-literal code injection

- Severity: Medium 5.7
- Published: Aug 13, 2026
- Affected: fixed in 0.3.31; from 1.0.0, fixed in 1.1.0.

### [CVE-2025-60542](https://cve.now/CVE-2025-60542): SQL Injection vulnerability in TypeORM before 0.3.26 via crafted request to repository.save or repository.update due to the sqlstring call…

- Severity: Medium 6.5
- Published: Oct 29, 2025
- Affected: fixed in 0.3.26.

### [CVE-2022-33171](https://cve.now/CVE-2022-33171): The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a FindOneOptions object.

- Severity: Unrated
- Published: Jul 4, 2022
- Affected: fixed in 0.3.0.

### [CVE-2020-8158](https://cve.now/CVE-2020-8158): Prototype pollution vulnerability in the TypeORM package \< 0.2.25 may allow attackers to add or modify Object properties leading to…

- Severity: Unrated
- Published: Sep 18, 2020
- Affected: fixed in 0.2.25.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/typeorm
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
