CVE-2025-25226Joomla!
Critical 9.8 No auth needed
Follow: this CVE · Joomla · Joomla! We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Apr 8, 2025
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Joomla!.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | joomla/database |
≥ 3.0.0 < 3.4.0 |
3.4.0 |
composer require "joomla/database:^3.4.0" |
| Packagist | joomla/database |
≥ 1.0.0 < 2.2.0 |
2.2.0 |
composer require "joomla/database:^2.2.0" |
Per OSV / GitHub Advisories (GHSA-44v2-prcf-pc3m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| joomla | joomla! | ≥ 1.0.0 < 2.2.0 |
| joomla | joomla! | ≥ 3.0.0 < 3.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- developer.joomla.org Vendor Advisory