Advisory

GHSA-44v2-prcf-pc3m

Also known as: BIT-joomla-2025-25226, CVE-2025-25226

Summary

Joomla Framework Database Package Vulnerable to SQL Injection

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-04-08 18:34 UTC
Modified
2025-06-05 06:27 UTC

Affected packages and fixes

joomla/database

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.4.0 (ecosystem)

Fixed versions

3.4.0

Fix

The export has no generic command for this ecosystem.

joomla/database

Packagist · All systems

Affected

  • introduced 1.0.0, fixed 2.2.0 (ecosystem)

Fixed versions

2.2.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences