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.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 wp_kses('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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| paoltaia | GeoDirectory – WP Business Directory Plugin and Classified Listings Directory | <= 2.8.207 |
References
- https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/assets/aui/js/geodirectory.js#L658
- 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/formatting-functions.php#L429
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/post-functions.php#L2185
- https://plugins.trac.wordpress.org/changeset/3820721/geodirectory/trunk/assets/aui/js/geodirectory.js
- https://www.wordfence.com/threat-intel/vulnerabilities/id/fe741122-6768-4532-a385-15dbf0f8f4a1?source=cve
Timeline
- Published
- Nov 26, 2026
- Last modified
- Dec 1, 2026
- NVD status
- Deferred