CVE-2026-135659 in GeoDirectory Plugininfo

Summary

by MITRE • 11/26/2026

The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'opentime (any custom field whose field_type has no geodir_custom_field_value_{type} filter — e.g. time, file, images)' parameter in all versions up to, and including, 2.8.207 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The raw payload is returned unescaped by geodir_cf_time() only when the listing is rendered with the value-raw display mode (e.g., via the [gd_post_meta show="value-raw"] shortcode or block), which is required for script execution.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/26/2026

The GeoDirectory plugin, a widely utilized WordPress extension for creating business directories and classified listings, contains a critical security flaw identified as Stored Cross-Site Scripting within versions up to 2.8.207. This vulnerability stems from insufficient input sanitization and output escaping mechanisms embedded in the plugin's handling of custom fields. Specifically, the issue affects parameters associated with field types that lack specific filtering hooks, such as geodir_custom_field_value_time for time-based inputs or similar handlers for file and image uploads. The core technical failure lies in how these values are processed when rendered using raw display modes. When a listing is displayed via shortcodes like [gd_post_meta show="value-raw"] or corresponding blocks, the function geodir_cf_time() returns the stored value without applying necessary HTML entity encoding or JavaScript escaping. This omission allows malicious actors to inject executable script payloads directly into database records associated with directory listings.

The operational impact of this vulnerability is significant due to its persistent nature and broad attack surface potential. Because the payload is stored in the database, it remains active until manually removed by an administrator. Any user who views a listing containing the injected code will have their browser execute the malicious script within the context of the GeoDirectory site. This can lead to session hijacking, where attackers steal administrative cookies or user tokens to impersonate legitimate users. It also enables credential theft through phishing overlays that mimic login forms, defacement of public-facing directory pages by altering visual content via DOM manipulation, and potentially redirecting visitors to malicious external sites hosting malware. The requirement for subscriber-level access or higher means that even low-privilege accounts can exploit this flaw if they have permission to create or edit listings, which is a common configuration in many community-driven directories.

From a classification perspective, this vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. The specific mechanism involves stored persistence where the malicious payload resides on the target server rather than being passed via URL parameters or form submissions that are immediately discarded. In terms of adversary tactics, this maps to ATT&CK technique T1059 Command and Scripting Interpreter through browser-based execution, specifically leveraging client-side scripting languages like JavaScript. The exploitation chain relies on social engineering elements where victims must be induced to view specific compromised listings, making the attack vector dependent on user interaction with the affected content rather than automated background processes.

Mitigation strategies should focus primarily on immediate patching and configuration adjustments until a fixed version is deployed by the plugin vendor. Administrators running vulnerable versions should upgrade GeoDirectory to 2.8.208 or later where these sanitization issues have been addressed in the geodir_cf_time function and related handlers for other custom field types that previously lacked proper filtering hooks. In environments where immediate patching is not feasible, administrators can implement a Web Application Firewall rule set designed to detect and block common XSS payload patterns within POST requests targeting listing creation or update endpoints. Additionally restricting the use of value-raw display modes in public-facing templates reduces the likelihood of successful execution since the raw unescaped data would not be rendered directly into HTML contexts susceptible to script injection. Regular auditing of custom field configurations ensures that no new fields are created without appropriate sanitization filters, maintaining a defense-in-depth posture against similar input validation failures.

Responsible

Wordfence

Reservation

11/23/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00411

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!