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 DOING_AJAX on any front-end request carrying gd-ajax=1, and an unconditional branch in geodir_get_current_posttype() 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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 26 Nov 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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 DOING_AJAX on any front-end request carrying gd-ajax=1, and an unconditional branch in geodir_get_current_posttype() 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.
Title GeoDirectory <= 2.8.208 - Unauthenticated SQL Injection via 'stype' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-11-26T14:36:08.314Z

Reserved: 2026-11-24T20:15:00.410Z

Link: CVE-2026-136488

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses