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.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.5%top 57.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagistjoomla/database3.4.0GHSA-44v2-prcf-pc3m
Packagistjoomla/database2.2.0GHSA-44v2-prcf-pc3m

Affected products (as reported)

VendorProductVersions
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

References