# GHSA-w7q7-vjp8-7jv4: SQL Injection in typeorm

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `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
- Published: 2019-06-06T15:30:16.000Z
- Modified: 2026-02-11T22:17:32.138Z
- Weaknesses: CWE-89

## Description

Versions of `typeorm` before 0.1.15 are vulnerable to SQL Injection. Field names are not properly validated allowing attackers to inject SQL statements and execute arbitrary SQL queries.


## Recommendation

Upgrade to version 0.1.15

(As written by GitHub Advisory Database.)

## Affected

- typeorm (npm): before 0.1.15

## References

- <https://github.com/typeorm/typeorm/commit/d46c8b0e6c0db56bb5976a4917e9f67a43715111> (web)
- <https://hackerone.com/reports/319458> (web)
- <https://github.com/typeorm/typeorm> (package)
- <https://www.npmjs.com/advisories/800> (web)

## Sources

- GitHub Advisory Database: [GHSA-w7q7-vjp8-7jv4](https://github.com/advisories/GHSA-w7q7-vjp8-7jv4), CC-BY-4.0, modified 2026-02-11

---

Page: https://cve.day/GHSA-w7q7-vjp8-7jv4 · Whole record: https://cve.day/GHSA-w7q7-vjp8-7jv4.json · Rebuilt by cve.day 2026-11-25T22:56:46.797Z
