CVE-2026-131866: GeoDirectory <= 2.8.206 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via 'post_content' Parameter via Business Hours Markup
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.206 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. An entity-encoded payload nested inside kses-allowed tags such as <div>, <span>, or <a data-> survives wpksespost on save because kses treats the encoded content as plain text; the save handler additionally re-pins the listing to its existing published status and writes directly to the parent listing ID, ensuring the injected content is immediately and permanently publicly visible without re-approval.
Affected Software
Event History
Frequently Asked Questions
What level of access must an attacker obtain?
The attacker must be authenticated with at least Subscriber-level access. No user interaction is required from the attacker once they can submit the malicious content.
Will listing moderation or re-approval prevent the injected content from being exposed?
No. The save handler re-pins the listing to its existing published status and writes to the parent listing ID, making the injected content immediately and persistently public without re-approval.
What payload structure can survive the save-time filtering?
An entity-encoded payload nested inside kses-allowed tags, including div, span, or an a element with data-* attributes, can survive wp_kses_post because the encoded content is treated as plain text during saving.