GeoDirectory <= 2.8.208 - Unauthenticated SQL Injection via 'stype' Parameter

State
Published
Severity
7.5 High
Published
Nov 26, 2026
Updated
Nov 26, 2026
Reserved
Nov 24, 2026

Read the record on cve.org

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.

ProductVersions
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory paoltaia2.8.208 and earlier Affected

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.