HighGHSA-9895-53fc-98v2

TYPO3 SQL Injection in dbal

Published 3 Jun 2024 · Updated 29 Nov 2024

Affected package

typo3/cmsComposer
Affected
>=6.2.0 <6.2.18
Fixed in
6.2.18
Update to the fixed version for your release line, for example:composer require typo3/cms:^6.2.18

Details

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.

Is GHSA-9895-53fc-98v2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected typo3/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.