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 'post_content' 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 wp_kses_post 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.
Severity (CVSS)
| Base score | 6.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| paoltaia | GeoDirectory – WP Business Directory Plugin and Classified Listings Directory | 0 to <=2.8.206 [affected] |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/80fa0dc7-86d1-4e54-b67a-0c1fbdb47b43?source=cve
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/assets/aui/js/geodirectory.js#L1188
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/assets/aui/js/geodirectory.js#L1234
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/class-geodir-ajax.php#L834
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/class-geodir-post-data.php#L1732
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/class-geodir-post-data.php#L1587
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/custom-fields/output-functions.php#L1945
- https://github.com/AyeCode/geodirectory/commit/95a04f7639643259af66724495d1da5a4a65f9aa
- https://plugins.trac.wordpress.org/changeset/3809491/geodirectory/trunk/assets/aui/js/geodirectory.js
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 27 Nov 2026 08:01 UTC.