# GHSA-9895-53fc-98v2: TYPO3 SQL Injection in dbal

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-06-03T16:46:05.000Z
- Modified: 2024-11-29T05:37:18.250Z

## 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.

(As written by GitHub Advisory Database.)

## Affected

- typo3/cms (Packagist): from 6.2.0 before 6.2.18

## References

- <https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2016-02-16-1.yaml> (web)
- <https://typo3.org/article/typo3-core-sa-2016-001> (web)

## Sources

- GitHub Advisory Database: [GHSA-9895-53fc-98v2](https://github.com/advisories/GHSA-9895-53fc-98v2), CC-BY-4.0, modified 2024-11-29

---

Page: https://cve.day/GHSA-9895-53fc-98v2 · Whole record: https://cve.day/GHSA-9895-53fc-98v2.json · Rebuilt by cve.day 2026-11-25T22:56:31.720Z
