SQL Injection Affecting joomla/database package, versions <2.2.0>=3.0.0, <3.4.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-JOOMLADATABASE-9689890
  • published13 Apr 2025
  • disclosed8 Apr 2025
  • creditNicholas K. Dionysopoulos

Introduced: 8 Apr 2025

NewCVE-2025-25226  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade joomla/database to version 2.2.0, 3.4.0 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection through the quoteNameStr method. An attacker can manipulate SQL queries and retrieve or alter information in the database by injecting malicious SQL code.

Note:

This is only exploitable if classes extending the affected class use the vulnerable method.

CVSS Base Scores

version 4.0
version 3.1