Description
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'post_images (file_info[2] = title)' parameter in all versions up to, and including, 2.8.190 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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
paoltaia GeoDirectory – WP Business Directory Plugin and Classified Listings Directory
Default version status: unaffected
0 to ≤ 2.8.190affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/190d9996-5a3b-477f-9191-d60ce3c33dd9?source=cve ↗
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.188/assets/js/map.js#L1431 ↗
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.188/assets/js/map.js#L605 ↗
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.188/includes/image-functions.php#L145 ↗
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.188/includes/class-geodir-media.php#L635 ↗
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.188/includes/class-geodir-post-data.php#L329 ↗
- https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip ↗
- https://plugins.trac.wordpress.org/changeset/3736457/geodirectory/trunk/assets/js/map.js ↗