Vulnerability · Published Apr 8, 2025 · Assigned by Joomla
CVE-2025-25226[20250401] - Joomla Framework - SQL injection vulnerability in quoteNameStr method of Database package
Critical 9.8
In plain English
A critical-severity SQL injection in Joomla! Framework from Joomla! Project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | joomla/database | 3.4.0 | GHSA-44v2-prcf-pc3m |
| Packagist | joomla/database | 2.2.0 | GHSA-44v2-prcf-pc3m |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Joomla! Project | Joomla! Framework | 1.0.0-2.1.13.0.0-3.3.1 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H