CVE-2026-136462 in GeoDirectory Plugininfo

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 'comment' 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. Successful exploitation requires that at least one prior comment from the attacker's email address has been manually approved, which under WordPress's default comment_previously_approved=1 setting causes subsequent comments from that address to be auto-approved without moderation.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/26/2026

The GeoDirectory plugin for WordPress, a widely used solution for creating business directories and classified listings, contains a critical security flaw identified as Stored Cross-Site Scripting within the 'comment' parameter across all versions up to 2.8.208. This vulnerability stems from insufficient input sanitization and output escaping mechanisms embedded in the plugin's codebase. When users submit comments through the public-facing interface of a WordPress site utilizing GeoDirectory, the application fails to adequately validate or encode special characters within the submitted data before storing it in the database. Consequently, malicious actors can inject arbitrary JavaScript payloads into these comment fields. Because this is a stored vulnerability rather than reflected XSS, the injected scripts are saved on the server and executed every time an authorized user views the affected page, leading to persistent compromise of client-side sessions and potentially broader system integrity depending on the victim's privileges.

The operational impact of this flaw allows unauthenticated attackers to execute arbitrary web scripts in pages viewed by other users. The primary consequence is session hijacking, where attackers can steal administrative cookies or access tokens, thereby gaining unauthorized control over WordPress accounts. Additionally, the vulnerability enables phishing attacks, data theft via keylogging scripts embedded in comments, and defacement of site content. Since GeoDirectory handles sensitive business information and user interactions, successful exploitation could lead to significant reputational damage and loss of trust among directory users. The persistence of the script means that even after the initial attack vector is identified, any new visitor to the compromised page remains at risk until the malicious comment is manually removed by an administrator.

A unique aspect of this vulnerability's exploitability lies in its dependency on WordPress's default moderation settings. Successful exploitation requires that at least one prior comment from the attacker's email address has been manually approved by a site administrator. Under the standard WordPress configuration where the 'comment_previously_approved' setting is enabled, once an admin approves a single comment from a specific email address, all subsequent comments from that same address are automatically approved without further moderation. This creates a low-barrier entry point for attackers who can initially submit a benign-looking comment to gain approval status, after which they can inject malicious payloads in follow-up submissions that bypass manual review entirely.

From a classification perspective, this vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting and specifically falls under the Stored XSS subcategory where persistent data is involved. In terms of adversary tactics, it maps to ATT&CK technique T1059 Command and Control via Application Layer Protocol or more accurately T1189 Drive-by Compromise if used for initial access, but primarily represents post-exploitation behavior such as Credential Access through Browser Session Hijacking (T1539) when cookies are stolen. The lack of proper encoding also relates to CWE-601 URL Redirection to Untrusted Site which can occur if the script redirects victims to malicious domains.

Mitigation strategies must prioritize immediate patching and configuration hardening. Administrators should upgrade GeoDirectory to version 2.8.209 or later, where input sanitization and output escaping have been corrected to prevent injection of executable scripts. In environments where upgrading is not immediately feasible, implementing a Web Application Firewall with rules specifically targeting XSS patterns in comment fields can provide temporary protection. Furthermore, site administrators should review WordPress moderation settings; disabling the auto-approval feature for new email addresses or requiring manual approval for all comments regardless of history significantly raises the barrier for exploitation. Regular security audits and code reviews focusing on data handling practices are essential to prevent similar vulnerabilities from being introduced in future updates or customizations.

Responsible

Wordfence

Reservation

11/24/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00495

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!