NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-25226: Joomla Framework Database Package Vulnerable to SQL Injection

mediumCVSS 4.0 6.9GHSA-44v2-prcf-pc3m

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.

Published Apr 8, 2025 · Updated Apr 9, 2025

Affected packages

joomla/database

Ecosystem
Composer (PHP)
Affected
>= 3.0.0, < 3.4.0
Fixed in
3.4.0
Check
composer show joomla/database

joomla/database

Ecosystem
Composer (PHP)
Affected
>= 1.0.0, < 2.2.0
Fixed in
2.2.0
Check
composer show joomla/database

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology