CVE-2026-136607 in GeoDirectory Plugin
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 'post_content' parameter in all versions up to, and including, 2.8.208 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires an administrator to have previously configured a Shortcode-type tab whose template places %%post_content%% inside an HTML attribute, which is not a default configuration; unauthenticated exploitation additionally requires the plugin's 'Allow posting without logging in?' option and WordPress user registration to both be enabled.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/27/2026
The GeoDirectory plugin for WordPress, specifically versions up through 2.8.208, contains a stored cross-site scripting vulnerability rooted in insufficient input sanitization and output escaping mechanisms within the post_content parameter. This flaw allows unauthenticated attackers to inject arbitrary web scripts into pages that execute when users access those specific pages. The core issue lies in how user-supplied content is handled during storage and subsequent rendering without adequate validation against script injection patterns or proper encoding of special characters before insertion into HTML contexts where they can be interpreted as executable code rather than plain text data.
Exploitation of this vulnerability requires a specific configuration state within the GeoDirectory plugin environment, which acts as a prerequisite condition for successful attack execution. An administrator must have previously configured a Shortcode-type tab whose template places the post_content variable inside an HTML attribute context. This is not a default configuration setting but rather a custom setup choice made by site administrators who wish to display content in specific formats within their business directory listings or classified ads. Without this particular structural arrangement, the injected script would likely be rendered as plain text and executed safely, thereby neutralizing the attack vector entirely under standard deployment scenarios.
Furthermore, unauthenticated exploitation demands that two additional WordPress settings are enabled simultaneously: the plugin's option to allow posting without logging in must be active, and general user registration on the WordPress site must also be permitted. These conditions collectively lower the barrier for entry significantly by allowing any internet visitor with a browser to submit content directly into the vulnerable parameter without needing valid credentials or prior authentication steps. This combination of factors transforms what might otherwise be an authenticated-only risk into one accessible to remote, unauthenticated adversaries seeking to compromise site integrity through client-side code injection techniques commonly associated with web application attacks targeting user interaction points such as comment sections, form submissions, and content creation interfaces in directory platforms.
The operational impact of successfully exploiting this vulnerability extends beyond mere defacement or visual disruption since stored XSS payloads persist on the server side until manually removed by an administrator. Attackers can leverage persistent scripts to steal session cookies containing authentication tokens for logged-in users visiting affected pages, potentially leading to account takeover scenarios where sensitive administrative functions are accessed under compromised identities. Additionally, malicious actors may redirect victims to phishing sites designed to harvest credentials or distribute malware payloads disguised as legitimate downloads related to the directory listings themselves. Such attacks undermine trust in the platform’s security posture while exposing businesses listed on these directories to reputational damage if their associated pages become vectors for broader cybercrime campaigns targeting end-users browsing local business information online.
Mitigation strategies should prioritize immediate patching by upgrading GeoDirectory to version 2.8.209 or later where input sanitization and output escaping have been strengthened according to current best practices outlined in industry standards like CWE-79 which addresses improper neutralization of input during web page generation processes known as cross-site scripting vulnerabilities. Administrators should also review their shortcode configurations carefully ensuring that post_content variables are never placed directly inside HTML attributes without proper encoding functions applied beforehand such as esc_attr() in WordPress development contexts aligned with OWASP guidelines for preventing injection flaws across all user-facing inputs regardless of perceived trust levels assigned to different source types including external submissions versus internal edits performed by verified staff members only.
Security monitoring tools should be configured to detect anomalous patterns indicative of attempted XSS payloads being submitted through public forms especially those involving rich text editors or free-form content fields commonly found in classified listing platforms where users expect flexibility but often overlook security implications tied directly back into backend processing logic governing how raw HTML gets transformed before display rendering occurs across various template layers involved ultimately determining whether malicious scripts survive intact long enough to execute upon visitor interaction with compromised listings displayed publicly online worldwide simultaneously creating widespread exposure risks unless promptly addressed via timely updates combined with ongoing vigilance around configuration choices affecting data flow paths between user inputs and final output representations seen by general audiences browsing directory sites daily.