GitHub Advisoryadvisory · npm
GHSA-w7q7-vjp8-7jv4 SQL Injection in typeorm
CRITICAL
Official page ↗
- Ecosystem
- npm
- Packages
- typeorm
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-89
- Reviewed
- 2019-06-05
Affected packages
• npm typeorm: < 0.1.15 → fixed in 0.1.15
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
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness