Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107650 Overview
CVE-2026-107650 is a Stored Cross-Site Scripting (XSS) vulnerability in the GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress. The flaw affects all versions up to and including 2.8.190. It stems from insufficient input sanitization and output escaping on the post_title parameter. Authenticated users with subscriber-level access or above can inject arbitrary JavaScript into directory pages. The injected scripts execute in the browser of any user who visits an affected page, enabling session theft, redirects, or other client-side attacks. The vulnerability is classified under CWE-79.
Critical Impact
Authenticated subscribers can store malicious JavaScript in directory listings. The payload executes in every visitor's browser, including administrators, potentially leading to account takeover.
Affected Products
- GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress
- All versions through 2.8.190
- WordPress sites allowing subscriber-level registration with GeoDirectory enabled
Discovery Timeline
- 2026-10-14 - CVE-2026-107650 published to NVD
- 2026-10-14 - Last updated in NVD database
Technical Details for CVE-2026-107650
Vulnerability Analysis
The vulnerability resides in GeoDirectory's handling of the post_title parameter when creating or editing directory listings. The plugin accepts user-supplied input through AJAX handlers defined in class-geodir-ajax.php and processes it via class-geodir-post-data.php and post-functions.php. The code paths fail to apply adequate sanitization on input and do not escape the title on output when rendered through widgets such as the Dynamic Content widget in class-geodir-widget-dynamic-content.php.
As a result, HTML and JavaScript payloads submitted in the post_title field persist in the database. When any user, including unauthenticated visitors or administrators, loads a page that renders the title, the injected script executes in their browser session.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. The plugin trusts the post_title value without applying wp_kses or equivalent escaping functions such as esc_html on output. The fix landed in WordPress GeoDirectory Changeset 3736457, which adds escaping to post-functions.php.
Attack Vector
An attacker registers a subscriber account on a target WordPress site running a vulnerable version of GeoDirectory. The attacker then submits a listing containing a crafted post_title value with embedded JavaScript, for example an <img> or <svg> tag carrying an onerror handler. The malicious title is stored in the database and rendered without escaping on directory pages. Any administrator reviewing the listing executes the script in their authenticated session, enabling cookie theft, forced actions, or privilege escalation through session abuse.
No exploitation code example is included because no verified public proof-of-concept has been published. Refer to the Wordfence Vulnerability Analysis ID 9628 for additional technical context.
Detection Methods for CVE-2026-107650
Indicators of Compromise
- Directory listings containing HTML tags, <script> fragments, or event handlers (onerror, onload, onclick) in the title field.
- Unexpected outbound requests from administrator browsers to attacker-controlled domains after viewing directory pages.
- New subscriber accounts created shortly before the appearance of listings with suspicious titles.
Detection Strategies
- Query the wp_posts table for rows where post_type corresponds to GeoDirectory listings and post_title contains <, >, javascript:, or on[a-z]+= patterns.
- Review web server access logs for POST requests to GeoDirectory AJAX endpoints originating from low-privilege accounts.
- Monitor WordPress audit logs for listing creation events followed by administrator page views on the same URL.
Monitoring Recommendations
- Enable a Web Application Firewall (WAF) with rules that inspect submissions to GeoDirectory endpoints for XSS payloads.
- Alert on administrator sessions issuing unusual API or REST calls shortly after viewing a directory listing.
- Track plugin version inventory across WordPress deployments to confirm patched builds are in production.
How to Mitigate CVE-2026-107650
Immediate Actions Required
- Update GeoDirectory to a release later than 2.8.190 that includes Changeset 3736457.
- Audit existing listings for stored payloads and sanitize or remove any entry containing HTML or script content in the title.
- Rotate administrator credentials and invalidate active sessions if evidence of exploitation exists.
Patch Information
The vendor addressed the issue in a release following version 2.8.190. The remediation applies output escaping in includes/post-functions.php. Review the official GitHub GeoDirectory Source Code and the WordPress GeoDirectory Changeset 3736457 for the exact code changes.
Workarounds
- Disable open user registration or restrict registration to vetted users until the plugin is updated.
- Set the default WordPress role for new users to a role without listing submission privileges.
- Deploy a WAF ruleset that blocks HTML tags and JavaScript protocols in requests to GeoDirectory submission endpoints.
# Configuration example: restrict WordPress registration role
wp option update default_role 'subscriber'
wp option update users_can_register 0
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

