CVE-2025-25226
CRITICAL 9.8CVSS 3.1Joomla Framework Database Package Vulnerable to SQL Injection
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.
- Published
- 8 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@joomla.org
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- BIT-joomla-2025-25226GHSA-44v2-prcf-pc3m
- Sources
- NVDJSONOSV GHSA-44v2-prcf-pc3mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | joomla | joomla!cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* |
>= 1.0.0, < 2.2.0 | 2.2.0 |
| NVD | joomla | joomla!cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.4.0 | 3.4.0 |
| OSV | Packagist | joomla/database | >= 3.0.0, < 3.4.0 | 3.4.0 |
| OSV | Packagist | joomla/database | >= 1.0.0, < 2.2.0 | 2.2.0 |
References
- https://developer.joomla.org/security-centre/963-20250401-framework-sql-injection-vulnerability-in-quotenamestr-method-of-database-package.html · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-25226 · ADVISORY
- https://github.com/joomla-framework/database · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 8 Apr 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 Apr 2025)