CVE-2026-136462: GeoDirectory <= 2.8.208 - Unauthenticated Stored Cross-Site Scripting via address_template Shortcode Attribute in Review Content
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 commentpreviouslyapproved=1 setting causes subsequent comments from that address to be auto-approved without moderation.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
WordPress sites using GeoDirectory versions up to and including 2.8.208 are affected. Visitors or users who view a page containing an injected, approved review comment may have attacker-supplied scripts execute in their browser.
What does an attacker need to exploit it?
The attacker does not need an account, but their malicious comment must be approved. Exploitation depends on at least one earlier comment from the same email address having been manually approved, after which WordPress's default comment_previously_approved=1 behavior can auto-approve subsequent comments from that address.
Are default WordPress comment settings relevant?
Yes. With the default comment_previously_approved=1 setting, a previously approved commenter email can have later comments automatically approved, enabling the stored payload to become visible without further moderation.
What can be done if an update cannot be applied immediately?
Require moderation for comments rather than relying on automatic approval for previously approved commenters, and review approved GeoDirectory review comments for suspicious content. Removing malicious comments prevents the stored script from being served from those comments.