CVE-2026-127113 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.205 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. Unauthenticated exploitation requires the plugin's "Allow posting without logging in" (post_logged_out) option to be enabled; on default installs the vulnerability is exploitable by Subscriber-level users and above.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The GeoDirectory WordPress plugin, widely utilized for creating business directories and classified listings, contains a critical security flaw identified as Stored Cross-Site Scripting within versions up to 2.8.205. This vulnerability stems from insufficient input sanitization and output escaping mechanisms applied specifically to the post_content parameter during content submission processes. The core technical failure lies in the application's inability to properly validate or encode user-supplied data before it is stored in the database, allowing malicious actors to inject arbitrary JavaScript code that persists on the server side rather than being executed transiently within a single session.
From an operational perspective, this flaw enables unauthenticated attackers to compromise the integrity and confidentiality of website users if specific configuration settings are active. The exploitation vector requires the plugin's post_logged_out option to be enabled, which permits visitors without valid credentials to submit content directly through public-facing forms. On default installations where such permissions might be loosely configured or inherited from broader user roles, even Subscriber-level users can exploit this flaw. Once a malicious script is injected into a listing page via the compromised parameter, it executes automatically whenever any other user views that specific page, leading to potential session hijacking, credential theft through keylogging scripts, defacement of the site content, or redirection to phishing sites designed to harvest sensitive information from unsuspecting visitors.
This vulnerability aligns with CWE-79, which classifies Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. The attack pattern corresponds directly to MITRE ATT&CK technique T1059, specifically the execution of JavaScript within a browser environment via web application vulnerabilities. By storing the payload in the database, the attacker ensures persistent access and broad impact across multiple user sessions without requiring repeated exploitation attempts for each victim.
To mitigate this risk, administrators should immediately update the GeoDirectory plugin to version 2.8.206 or later where these sanitization issues have been addressed by the developers. In environments where updating is not immediately feasible, it is crucial to disable the post_logged_out option if public submissions are not strictly necessary for business operations. Additionally implementing a Web Application Firewall can provide an additional layer of defense by filtering out malicious payloads containing script tags or event handlers before they reach the application logic. Regular security audits and code reviews focusing on input validation practices in custom WordPress plugins remain essential to prevent similar vulnerabilities from being introduced into web applications that handle user-generated content.