Summary
CVE-2026-88854 is a critical unauthenticated SQL injection vulnerability in the OrdaSoft Joomla Gallery extension (com_osgallery / com_osgallery_light) for Joomla. The flaw allows any anonymous visitor to inject arbitrary SQL through the extension’s public search functionality, enabling extraction of full database contents. The issue carries a CVSS score of 9.3 (Critical).
Technical details
- The extension’s
showSearchResult()andshowSearchResultAjax()functions read thetextsearch/searchTextrequest parameters using$input->getVar(), which does not apply real SQL-safe filtering — it strips HTML tags but leaves quotes and SQL syntax untouched. - The unsanitized value is concatenated directly into a SQL
LIKEclause without escaping. - The vulnerable search endpoint (exposed via the public search module, e.g.
mod_osgallery_search) requires no authentication, so the attack surface is reachable over the network by any anonymous visitor. - Attackers can append UNION SELECT statements to the injected parameter to read arbitrary data from the site’s database (e.g., user credentials, session tokens, configuration data).
- Attack vector is network-based, requires no privileges and no user interaction, making exploitation straightforward with automated scanning/exploitation tools.
Affected software
- OrdaSoft Joomla Gallery (free edition) — versions 1.0.0 through 6.2.6
- OrdaSoft Joomla Gallery (premium edition) — versions 1.0.0 through 6.2.6
- Fixed in version 6.2.7 and later
Severity
CVSS v4.0 Base Score: 9.3 (Critical)
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: Upgrade OrdaSoft Joomla Gallery (both free and premium editions) to version 6.2.7 or later, where the input handling for the search parameters has been corrected.
- If patching cannot be applied immediately:
- Disable or remove the public search module/component (
com_osgallerysearch functionality, includingmod_osgallery_search) until the upgrade can be completed. - Deploy a web application firewall (WAF) rule to block requests containing SQL injection patterns (e.g., UNION SELECT, EXTRACTVALUE) in the
textsearchandsearchTextparameters. - Monitor web server and database logs for anomalous search queries or SQL error messages indicative of injection attempts.
- Disable or remove the public search module/component (

