{"id":"GHSA-9895-53fc-98v2","aliases":[],"status":"published","title":"TYPO3 SQL Injection in dbal","description":"A flaw in the database escaping API results in a SQL injection vulnerability when extension dbal is enabled and configured for MySQL passthrough mode in its extension configuration. All queries which use the DatabaseConnection::sql_query are vulnerable, even if arguments were properly escaped with DatabaseConnection::quoteStr beforehand.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2024-06-03T16:46:05Z","modified":"2024-11-29T05:37:18Z","fixes":[{"ecosystem":"Packagist","package":"typo3/cms","fixed_in":["6.2.18"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"typo3/cms","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.18"}]}]},{"source":"osv","ecosystem":"Packagist","package":"typo3/cms","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.18"}]}],"versions":["6.2.0","6.2.1","6.2.10","6.2.10-rc1","6.2.11","6.2.12","6.2.13","6.2.14","6.2.15","6.2.16","6.2.17","6.2.2","6.2.3","6.2.4","6.2.5","6.2.6","6.2.7","6.2.8","6.2.9"]}],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2016-02-16-1.yaml","tags":["web"]},{"url":"https://typo3.org/article/typo3-core-sa-2016-001","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9895-53fc-98v2"}],"sources":{"ghsa":[{"id":"GHSA-9895-53fc-98v2","title":"TYPO3 SQL Injection in dbal","description":"A flaw in the database escaping API results in a SQL injection vulnerability when extension dbal is enabled and configured for MySQL passthrough mode in its extension configuration. All queries which use the DatabaseConnection::sql_query are vulnerable, even if arguments were properly escaped with DatabaseConnection::quoteStr beforehand.","status":"published","published":"2024-06-03T16:46:05Z","modified":"2024-06-03T16:46:06Z","updated_at":"2026-11-02T14:37:53.025064Z"}],"osv":[{"id":"GHSA-9895-53fc-98v2","title":"TYPO3 SQL Injection in dbal","description":"A flaw in the database escaping API results in a SQL injection vulnerability when extension dbal is enabled and configured for MySQL passthrough mode in its extension configuration. All queries which use the DatabaseConnection::sql_query are vulnerable, even if arguments were properly escaped with DatabaseConnection::quoteStr beforehand.","status":"published","published":"2024-06-03T16:46:05Z","modified":"2024-11-29T05:37:18.250789Z","updated_at":"2026-11-02T15:46:43.524801Z"}]}}
