# GeoDirectory <= 2.8.193 - Unauthenticated Authorization Bypass to Guest Listing Ownership

- **ID:** WPSEC-2026-1391
- **Plugin:** GeoDirectory – WP Business Directory Plugin and Classified Listings Directory (`geodirectory`), https://wordpress.org/plugins/geodirectory/
- **Affected versions:** all versions before 2.8.194
- **Fixed in:** 2.8.194 (Update to 2.8.194 or later.)
- **Severity:** Medium 5.6 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L)
- **Weakness:** CWE-863
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-21)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/geodirectory
- **Fix released:** 2026-10-20
- **Published:** 2026-10-21
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1391/

## Description

The GeoDirectory plugin for WordPress is vulnerable to an authorization bypass via the listing edit permission check (GeoDir_Post_Data::can_edit) in all versions up to, and including, 2.8.193. This is due to a loose comparison between the listing author ID and the current user ID, which runs before the guest ownership cookie check. As a result, logged-out visitors (user ID 0) match any listing whose author ID is 0, such as listings started by guests. This makes it possible for unauthenticated attackers to edit, auto-save and upload files to guest-authored listings they do not own, on sites where guest listing submission is enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-1391/
- https://plugins.svn.wordpress.org/geodirectory/tags/2.8.194/
- https://wordpress.org/plugins/geodirectory/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1391/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
