CVE-2025-25226
[20250401] - Joomla Framework - SQL injection vulnerability in quoteNameStr method of Database package
9.8
CRITICAL
CVSS 3.1
EPSS 0.01%
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 CVE-2025-25226
To remediate CVE-2025-25226, upgrade the affected package to a fixed version below.
- —upgrade to 5.0.3 or later
- —upgrade to 3.4.0 or later
Is CVE-2025-25226 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 1.0.0, < 5.0.3
- >= 3.0.0, < 3.4.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |