CWE
89
Advisory Published
Advisory Published
Updated

CVE-2025-25226: [20250401] - Joomla Framework - SQL injection vulnerability in quoteNameStr method of Database package

First published: Tue Apr 08 2025(Updated: )

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.

Credit: security@joomla.org

Affected SoftwareAffected VersionHow to fix
Joomla Framework
composer/joomla/database>=1.0.0<2.2.0
2.2.0
composer/joomla/database>=3.0.0<3.4.0
3.4.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-25226?

    CVE-2025-25226 is categorized as a SQL injection vulnerability which can potentially allow attackers to execute arbitrary SQL commands.

  • How do I fix CVE-2025-25226?

    To address CVE-2025-25226, ensure to upgrade to the latest version of the Joomla Framework that includes a fix for this vulnerability.

  • Which versions of Joomla are affected by CVE-2025-25226?

    CVE-2025-25226 affects the Joomla Framework, particularly its 2.x and 3.x branches, though the vulnerable method has no usage in the original packages.

  • What is the impact of exploiting CVE-2025-25226?

    Exploiting CVE-2025-25226 may allow an attacker to manipulate database queries, potentially revealing sensitive information or altering data.

  • Is CVE-2025-25226 a remote or local vulnerability?

    CVE-2025-25226 is classified as a remote vulnerability, meaning it can be exploited from anywhere an attacker can send requests to the affected application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203