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-111069 Overview
CVE-2026-111069 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.192. The vulnerability resides in the twitterusername parameter, which lacks server-side input sanitization and output escaping. Authenticated users with Subscriber-level access or higher can inject arbitrary web scripts that execute whenever a visitor views the affected listing page. The plugin relies on the client-side HTML pattern attribute to enforce alphanumeric-only values, but this control is not enforced on the server. [CWE-79]
Critical Impact
Authenticated attackers with low privileges can store JavaScript payloads that execute in the browser of any user viewing the affected directory listing, enabling session theft, account takeover, or redirection attacks.
Affected Products
- GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress
- All versions up to and including 2.8.192
- WordPress sites with Subscriber-level registration enabled
Discovery Timeline
- 2026-10-16 - CVE-2026-111069 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111069
Vulnerability Analysis
The vulnerability stems from the plugin's reliance on client-side input validation for the twitterusername custom field. The HTML form enforces alphanumeric-only characters using the pattern attribute, but server-side handlers in class-geodir-ajax.php and class-geodir-post-data.php accept the submitted value without equivalent sanitization. An authenticated listing owner can bypass the browser control by submitting the request directly, injecting a payload that breaks out of the HTML attribute context. The malicious value is stored in the custom field table and rendered unescaped by output-filter-functions.php, allowing arbitrary script execution for any visitor loading the listing page.
Root Cause
The root cause is insufficient input sanitization combined with inadequate output escaping in the plugin's custom field handling pipeline. The server trusts that incoming twitterusername values conform to the pattern enforced by the browser, so no corresponding sanitize_text_field(), allow-list regex, or context-aware escaping is applied before persistence or rendering. This is a classic [CWE-79] violation where tainted input flows into an HTML sink without neutralization.
Attack Vector
An attacker registers or uses an existing Subscriber-level WordPress account on a vulnerable site. The attacker submits a listing creation or update request through the GeoDirectory AJAX endpoint, placing an attribute-breakout payload in the twitterusername field. The payload is stored to the custom field table and rendered within the listing's social section. When any visitor, including administrators, views the listing page, the injected script executes in their browser session with the site's origin, enabling cookie theft, administrative action forgery, or malicious redirects.
See the Wordfence Vulnerability Report and the WordPress Changeset Update for the technical fix details.
Detection Methods for CVE-2026-111069
Indicators of Compromise
- Entries in the GeoDirectory custom fields table containing HTML characters such as <, >, ", or onerror= in the twitterusername column
- Listing pages returning script tags or inline event handlers within the social links markup
- Outbound requests from site visitors to attacker-controlled domains originating from directory listing pages
- Unexpected session tokens or administrator account changes following visits to directory listings
Detection Strategies
- Query the WordPress database for twitterusername values that do not match an alphanumeric allow-list (^[A-Za-z0-9_]+$)
- Review web server access logs for POST requests to GeoDirectory AJAX endpoints submitted by Subscriber-level accounts
- Scan rendered listing pages with a DOM-based XSS detection scanner to identify stored payloads
- Correlate newly registered Subscriber accounts with subsequent listing creation activity
Monitoring Recommendations
- Enable WordPress audit logging for listing creation, update, and user registration events
- Monitor plugin version drift and alert when GeoDirectory remains below the patched release
- Alert on anomalous HTTP response bodies from listing URLs that contain script tags inside social media fields
- Track Content Security Policy (CSP) violation reports originating from directory pages
How to Mitigate CVE-2026-111069
Immediate Actions Required
- Update the GeoDirectory plugin to a version newer than 2.8.192 that includes the fix from WordPress Changeset 3748786
- Audit existing listings and sanitize any twitterusername values containing non-alphanumeric characters
- Review Subscriber-level accounts created recently and remove unauthorized users
- Rotate administrator session cookies and credentials if payload execution is suspected
Patch Information
The maintainers addressed the issue in a release following 2.8.192. The fix adds server-side output escaping in includes/custom-fields/output-filter-functions.php. Site administrators should apply the update through the WordPress plugin manager and verify the installed version. Reference the WordPress Plugin Code Reference for the vulnerable code location.
Workarounds
- Disable new user registration or restrict the Subscriber role from creating directory listings until the patch is applied
- Deploy a Web Application Firewall (WAF) rule that blocks requests to GeoDirectory AJAX endpoints containing HTML metacharacters in the twitterusername parameter
- Apply a strict Content Security Policy that disallows inline scripts on listing pages
- Temporarily deactivate the GeoDirectory plugin if patching cannot be completed promptly
# Example WAF rule (ModSecurity) to block attribute-breakout payloads in twitterusername
SecRule ARGS:twitterusername "@rx [^A-Za-z0-9_]" \
"id:1026111069,phase:2,deny,status:403,\
msg:'CVE-2026-111069 GeoDirectory XSS attempt blocked',\
tag:'CWE-79'"
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

