CVE-2025-25226
JSON

9.8critical

[20250401] - Joomla Framework - SQL injection vulnerability in quoteNameStr method of Database package

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.49% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Joomla
Also known as
GHSA-44v2-prcf-pc3mBIT-JOOMLA-2025-25226

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

Product or packageVersionsReported by
Joomla! Project Joomla! Framework1.0.0-2.1.1, 3.0.0-3.3.1CVE List
joomla/database (Packagist)from 3.0.0 before 3.4.0, from 1.0.0 before 2.2.0GitHub Advisory Database
joomla joomla!from 1.0.0 before 2.2.0, from 3.0.0 before 3.4.0NVD
joomla (Bitnami)from 1.0.0 before 5.0.3Bitnami Vulnerability Database

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
Bitnami Vulnerability Databasecritical rating

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

La gestión incorrecta de identificadores provoca una vulnerabilidad de inyección SQL en el método quoteNameStr del paquete de base de datos. Nota: El método afectado es un método protegido. No se utiliza en los paquetes originales ni en la rama 2.x ni en la 3.x, por lo que la vulnerabilidad en cuestión no puede explotarse al usar la clase de base de datos original. Sin embargo, las clases que extienden la clase afectada podrían verse afectadas si se usa el método vulnerable.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-25226 changed 2025-04-21CVE Terms of Use
GitHub Advisory DatabaseGHSA-44v2-prcf-pc3m changed 2025-06-05CC-BY-4.0
NVDCVE-2025-25226 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-JOOMLA-2025-25226 changed 2026-09-08Apache-2.0