Vulnerability in GeoDirectory – WP Business Directory Plugin and Classified Listings Directory — CVE-2026-118635
MediumSeverity
—Estimated exploit probability
10,000+ sitesInstalls
2.8.199Fixed in
What to do now
Update GeoDirectory – WP Business Directory Plugin and Classified Listings Directory to 2.8.199 or later.
Affected versions
- Everything up to and including 2.8.198
Affected: GeoDirectory – WP Business Directory Plugin and Classified Listings Directory (plugin, geodirectory)
What the vulnerability is
The The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 2.8.198 This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
Sources
- https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.198/includes/class-geodir-ajax.php#L1482
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.198/includes/widgets/class-geodir-widget-listings.php#L1171
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.198/includes/widgets/class-geodir-widget-listings.php#L2005
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.198/includes/widgets/class-geodir-widget-listings.php#L2044
- https://plugins.trac.wordpress.org/changeset/3773265/geodirectory/trunk/includes/widgets/class-geodir-widget-listings.php