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-110703 Overview
CVE-2026-110703 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.191. Authenticated attackers with subscriber-level access or higher can inject arbitrary web scripts through the post_content parameter. The vulnerability requires the attacker to own a published listing, since the ownership check in GeoDir_Post_Data::can_edit() limits payload submission. Weaponized payloads execute whenever a visitor loads the affected page. The issue is categorized under [CWE-79].
Critical Impact
Authenticated subscribers who own a published listing can inject persistent JavaScript that executes in every visitor's browser, enabling session theft, account takeover, and arbitrary action on behalf of victims.
Affected Products
- GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress
- All versions up to and including 2.8.191
- WordPress sites allowing subscriber-level registration with published listings
Discovery Timeline
- 2026-10-16 - CVE-2026-110703 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-110703
Vulnerability Analysis
The vulnerability resides in GeoDirectory's AJAX listing edit flow. When an authenticated user submits an update to an owned listing, the ajax_save_post() handler accepts the post_content parameter without sufficient input sanitization or output escaping. The stored content is later rendered on the public listing page, allowing script execution in the browser of any visitor.
A secondary design issue amplifies the impact. The ajax_save_post() function re-applies the existing post_status on save. Edits to an already-published listing therefore bypass moderation and remain live immediately, with no administrator review. An attacker who owns a published listing can inject scripts and have them served instantly.
Because the Scope is Changed (S:C), the injected script runs in the context of other site users, including administrators who view the listing. This can be chained to perform privileged actions, exfiltrate session cookies, or pivot to further compromise.
Root Cause
The root cause is improper neutralization of user-supplied input in the post_content field handled by GeoDirectory's AJAX save path. Relevant implementation locations include includes/class-geodir-ajax.php, includes/class-geodir-post-data.php, and includes/post-functions.php. The ownership check in GeoDir_Post_Data::can_edit() restricts who can store the payload but does not sanitize the payload itself.
Attack Vector
An authenticated attacker registers or holds a subscriber account, submits a listing, and gets it published. The attacker then edits the existing listing and injects malicious HTML or JavaScript in the post_content parameter via the AJAX save endpoint. Because the edit retains the publish status, the payload is live without re-moderation. Any user visiting the listing executes the attacker's script.
No verified public exploit code is available. Technical details are documented in the Wordfence Vulnerability Report and the plugin source at WordPress GeoDirectory AJAX Class.
Detection Methods for CVE-2026-110703
Indicators of Compromise
- Listing posts containing <script>, onerror=, onload=, or javascript: sequences inside post_content
- Unexpected outbound requests from visitor browsers to attacker-controlled domains originating on GeoDirectory listing URLs
- Subscriber accounts that recently edited published listings via wp-admin/admin-ajax.php with action=geodir_ajax_save_post
- New administrator accounts or role changes shortly after visits to directory listing pages
Detection Strategies
- Audit the wp_posts table for GeoDirectory post types (gd_place, gd_event, custom CPTs) and search post_content for HTML event handlers and script tags
- Correlate admin-ajax.php POST requests invoking geodir_ajax_save_post with the authenticated user ID and payload length
- Monitor web server access logs for subscriber-authored edits to published listings outside normal business patterns
Monitoring Recommendations
- Enable Content Security Policy (CSP) with script-src 'self' to block inline injected scripts and generate violation reports
- Forward WordPress audit logs and web server telemetry to a central analytics platform for retention and correlation
- Alert on any role elevation, option changes, or plugin installation events that occur during an active session on a GeoDirectory listing page
How to Mitigate CVE-2026-110703
Immediate Actions Required
- Update the GeoDirectory plugin to a version later than 2.8.191 as soon as the vendor patch is available
- Review all existing GeoDirectory listings for injected <script> tags or event handler attributes and remove malicious content
- Audit subscriber accounts and remove or disable accounts that are not required for business operations
- Rotate administrator session cookies and credentials if evidence of exploitation is found
Patch Information
The fix is tracked in the plugin's source repository. Refer to the GeoDirectory Changeset Overview for the vendor commit and to the Wordfence Vulnerability Report for fixed version guidance. Apply updates through the WordPress plugin updater or by replacing the plugin directory with the patched release.
Workarounds
- Restrict listing submission and editing to trusted roles by disabling open subscriber registration on the directory
- Deploy a Web Application Firewall (WAF) rule that inspects admin-ajax.php requests with action=geodir_ajax_save_post and blocks payloads containing script tags or event handlers
- Force re-moderation of all listing edits by hooking wp_insert_post_data to reset post_status to pending on updates
- Enforce a strict Content Security Policy on pages that render GeoDirectory listing content
# Example WAF rule (ModSecurity) to block script payloads in GeoDirectory AJAX saves
SecRule REQUEST_URI "@contains /wp-admin/admin-ajax.php" \
"chain,phase:2,deny,status:403,id:1026110703,msg:'Blocked potential CVE-2026-110703 XSS payload'"
SecRule ARGS:action "@streq geodir_ajax_save_post" \
"chain"
SecRule ARGS:post_content "@rx (?i)(<script|onerror=|onload=|javascript:)" "t:none"
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

