CVE-2025-25226
Description
Improper handling of identifiers lead to a SQL injection vulnerability in the quoteNameStr method of the database package. Please note: the affected method is a protected method. It has no usages in the original packages in neither the 2.x nor 3.x branch and therefore the vulnerability in question can not be exploited when using the original database class. However, classes extending the affected class might be affected, if the vulnerable method is used.
How to fix
- joomla joomla\!2.2.0, 3.4.0 or later
- joomla/database3.4.0, 2.2.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| joomla joomla\! | 1.0.0 ≤ v < 2.2.0, 3.0.0 ≤ v < 3.4.0 | 2.2.0, 3.4.0 |
| joomla/databasePackagist | 3.0.0 ≤ v < 3.4.0, 1.0.0 ≤ v < 2.2.0 | 3.4.0, 2.2.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.