Security Alert Summary
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to stored cross-site scripting (XSS) in all versions up to and including 2.8.207. Authenticated users with subscriber-level access and above can inject scripts via certain custom field values that are rendered with the value-raw display mode, causing those scripts to execute when a user views the affected listing page.
CVE Details
- CVE ID: CVE-2026-135659
- Affected component: GeoDirectory – WP Business Directory Plugin and Classified Listings Directory
- Affected versions: all versions up to and including 2.8.207
- Published: November 26, 2026 at 1:16:43 PM
- Last modified: November 26, 2026 at 1:16:43 PM
- CVSS v3.1:
Base Score: 6.4,Severity: MEDIUM,Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N - Authentication / privileges / user interaction: Privileges required: Low (authenticated user); user interaction: None. The advisory notes exploitation is possible by authenticated users at subscriber level and above.
- Primary impact: Confidentiality: Low; Integrity: Low; Availability: None
- Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)
Technical Details
This vulnerability is a stored cross-site scripting issue caused by insufficient input sanitization and output escaping for certain custom field values. The plugin returns the raw payload unescaped via the geodir_cf_time() output function when a listing field is rendered using the value-raw display mode. The report identifies the opentime parameter (and any custom field whose field_type has no geodir_custom_field_value_{type} filter, for example time, file, images) as a vector for injecting arbitrary web scripts.
Script execution requires that the attacker-controlled value be rendered with display mode set to value-raw (for example, via the [gd_post_meta show="value-raw"] shortcode or block). When rendered this way, the listing output includes the unescaped payload and the browser executes it in the context of the page.
How This Could Impact Your Website
In a typical small business WordPress site, an external contributor or lower-privileged internal user (for example, a subscriber or contributor account used to submit listings) could inject a script into a listing field. When an editor, site owner, or another visitor views the injected listing rendered with value-raw, that script would execute in their browser. Practical consequences include exposure of data visible to the viewer (for example, internal user email addresses shown on pages) and an increased risk of targeted phishing or social engineering against staff whose browsers executed the injected script.
This vulnerability does not, based on the provided data, imply full site takeover or availability loss; the documented impacts are limited to confidentiality and integrity at a low level. If you\’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review.
Recommended Actions
- Update the affected plugin as soon as a patched version is available.
- Review and reduce unnecessary user roles and capabilities, especially for contributors and subscriber-level accounts.
- Enforce strong passwords and enable two-factor authentication for editor and administrator accounts.
- Remove unused or unmaintained plugins and custom fields that are not required.
- Monitor site activity and logs for unusual behavior, including unexpected listing content or changes.
If you\’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.
References
- https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.202/includes/class-geodir-ajax.php#L830
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.202/includes/class-geodir-post-data.php#L1732
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.202/includes/class-geodir-post-data.php#L492
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.202/includes/custom-fields/output-functions.php#L585
- https://plugins.trac.wordpress.org/changeset/3820721/geodirectory/trunk/includes/custom-fields/output-functions.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0afdcf98-a544-43eb-ba03-162cd6e5f12c?source=cve