Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136488: high-severity vulnerability (CVSS 7.5) in paoltaia GeoDirectory – WP Business Directory Plugin and Classified Listings Directory.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.5.
Affected products and versions
paoltaia GeoDirectory – WP Business Directory Plugin and Classified Listings Directory <= 2.8.208
| Product | Versions | Fixed in |
|---|---|---|
| paoltaia GeoDirectory – WP Business Directory Plugin and Classified Listings Directory | <= 2.8.208 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/903d2e67-f7a3-42bd-99f3-189a735b7f17?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/post-types-functions.php#L662 — CVE Program
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/core-functions.php#L544 — CVE Program
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/class-geodir-fast-ajax.php#L51 — CVE Program
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/helper-functions.php#L2073 — CVE Program
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/class-geodir-query.php#L385 — CVE Program
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/class-geodir-query.php#L928 — CVE Program
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/helper-functions.php#L19 — CVE Program
- https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip — CVE Program
- https://plugins.trac.wordpress.org/changeset/3823196/geodirectory/trunk/includes/core-functions.php — CVE Program
Weaknesses (CWE): CWE-89
Relevant change history
Published
Preliminary advisory published.