{"id":"GHSA-w7q7-vjp8-7jv4","aliases":[],"status":"published","title":"SQL Injection in typeorm","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.\n\n\n## Recommendation\n\nUpgrade to version 0.1.15","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2019-06-06T15:30:16Z","modified":"2026-02-11T22:17:32Z","fixes":[{"ecosystem":"npm","package":"typeorm","fixed_in":["0.1.15"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"typeorm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.15"}]}]},{"source":"osv","ecosystem":"npm","package":"typeorm","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.15"}]}]}],"references":[{"url":"https://github.com/typeorm/typeorm/commit/d46c8b0e6c0db56bb5976a4917e9f67a43715111","tags":["web"]},{"url":"https://hackerone.com/reports/319458","tags":["web"]},{"url":"https://www.npmjs.com/advisories/800","tags":["web"]},{"url":"https://github.com/advisories/GHSA-w7q7-vjp8-7jv4"},{"url":"https://github.com/typeorm/typeorm","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-w7q7-vjp8-7jv4","title":"SQL Injection in typeorm","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.\n\n\n## Recommendation\n\nUpgrade to version 0.1.15","status":"published","published":"2019-06-06T15:30:16Z","modified":"2026-02-11T22:05:27Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:39:24.742346Z"}],"osv":[{"id":"GHSA-w7q7-vjp8-7jv4","title":"SQL Injection in typeorm","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.\n\n\n## Recommendation\n\nUpgrade to version 0.1.15","status":"published","published":"2019-06-06T15:30:16Z","modified":"2026-02-11T22:17:32.138308Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:58.401149Z"}]}}
