The vulnerability exists in the getSqlQuery method of the AddressRepository class in the tt_address extension for TYPO3. The method constructs a raw SQL query and, prior to the patch, it manually quoted parameters instead of using the database connection's quoting mechanism. This allowed for SQL injection if a crafted input was passed to the method. The patch, identified in commit f22107e67d51cd30cdca8c62f25235e977d916a2, rectifies this by using $connection->quote($value), which properly escapes the input and mitigates the vulnerability. Although the vulnerable method is not called within the extension itself, any third-party extension using this method would expose the application to SQL injection.