CVE-2026-135663: GeoDirectory <= 2.8.207 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via Listing Description
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'postcontent' parameter in all versions up to, and including, 2.8.207 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload survives storage because wpkses('post') permits data- attributes and entity-encoded content, while the dangerous HTML-parsing step occurs entirely within the plugin's own frontend JavaScript handler at render time.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs an authenticated WordPress account with Subscriber-level access or higher. They must be able to submit a listing description through the affected post_content parameter.
When does the injected script execute?
The malicious payload is stored in the listing content and executes in a user's browser when that user accesses the injected page. The dangerous HTML parsing occurs in GeoDirectory's frontend JavaScript during rendering.
Are installations running the listed affected versions exposed by default?
The issue is described as affecting all GeoDirectory versions through 2.8.207 because the plugin permits the relevant stored content and processes it in its frontend handler. Exploitation still requires an authenticated low-privilege user to inject a crafted listing description.
How can I check for possible exploitation?
Review listing descriptions and the associated post_content values for unexpected data-* attributes or entity-encoded HTML content. Investigate content created or modified by Subscriber-level or other low-privilege accounts, especially if it renders unexpected markup in listing pages.