CVE-2026-136488
published high CVSS 3.1 · 7.5GeoDirectory <= 2.8.208 - Unauthenticated SQL Injection via 'stype' Parameter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| paoltaia | — | GeoDirectory – WP Business Directory Plugin and Classified Listings Directory0 through 2.8.208 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| paoltaia | GeoDirectory – WP Business Directory Plugin and Classified Listings Directory | 0 through 2.8.208 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
10- https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/class-geodir-fast-ajax.php#L51
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/class-geodir-query.php#L385
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/class-geodir-query.php#L928
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/core-functions.php#L544
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/helper-functions.php#L19
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/helper-functions.php#L2073
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.207/includes/post-types-functions.php#L662
- https://plugins.trac.wordpress.org/changeset/3823196/geodirectory/trunk/includes/core-functions.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/903d2e67-f7a3-42bd-99f3-189a735b7f17?source=cve
Provider assertions
2Wordfence · cna
GeoDirectory <= 2.8.208 - Unauthenticated SQL Injection via 'stype' Parameter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 938a1899d1298d0044afbad0d2b7341ac1e7d7a6451dc443cff6c74deb89dbf2
- Ingested
- 01 Dec 2026, 19:45:57 UTC
- Source record
- Official CVE record