GeoDirectory <= 2.8.208 - Unauthenticated Stored Cross-Site Scripting via address_template Shortcode Attribute in Review Content
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 24, 2026
Description
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.
| Product | Versions |
|---|---|
| GeoDirectory – WP Business Directory Plugin and Classified Listings Directory paoltaia | 2.8.208 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/697a3764-4b0c-4013-93f5-40d54c8e9786?source=cve
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.206/includes/custom-fields/output-functions.php#L2644
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.206/includes/widgets/class-geodir-widget-post-address.php#L454
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.206/includes/class-geodir-template-loader.php#L556
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.206/includes/class-geodir-comments.php#L617
- https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip
- https://plugins.trac.wordpress.org/changeset/3823196/geodirectory/trunk/includes/custom-fields/output-functions.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.