CVE-2026-136488: GeoDirectory <= 2.8.208 - Unauthenticated SQL Injection via 'stype' Parameter
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to generic SQL Injection via the 'stype' parameter in all versions up to, and including, 2.8.208 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This is possible because the plugin's mu-plugin companion (copied automatically on install when the default 'Enable Fast AJAX' option is on) defines DOINGAJAX on any front-end request carrying gd-ajax=1, and an unconditional branch in geodirgetcurrentposttype() restores the attacker-controlled stype value after the allow-list check clears it, allowing the tainted value to reach the SQL sink without any preparation.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
GeoDirectory versions up to and including 2.8.208 are affected when the plugin's mu-plugin companion is present and the default “Enable Fast AJAX” option is enabled. The companion is copied automatically during installation when that default option is on.
Does exploitation require an authenticated WordPress account or user interaction?
No. The vulnerability is exploitable by an unauthenticated attacker and does not require user interaction.
What request condition is needed to reach the vulnerable path?
A front-end request carrying gd-ajax=1 causes the mu-plugin companion to define DOING_AJAX. The attacker-controlled stype parameter can then be restored after the allow-list check and reach the SQL query without preparation.
What could an attacker obtain through successful exploitation?
An attacker can append SQL to existing queries and extract sensitive information from the WordPress database. The supplied impact information identifies confidentiality impact as high, with no stated integrity or availability impact.