CVE-2025-25226

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductJoomla\!
PublishedApr 8, 2025
First seenApr 8, 2025
Weakness typeCWE-89SQL injection

How to fix

Update
  • joomla joomla\!2.2.0, 3.4.0 or later
  • joomla/database3.4.0, 2.2.0 or later

Affected products

ProductAffected versionsFixed in
joomla joomla\!1.0.0 ≤ v < 2.2.0, 3.0.0 ≤ v < 3.4.02.2.0, 3.4.0
joomla/databasePackagist3.0.0 ≤ v < 3.4.0, 1.0.0 ≤ v < 2.2.03.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.