Description
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'post_content' parameter in all versions up to, and including, 2.8.191 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. This requires the attacker to own a published listing, as the ownership check in GeoDir_Post_Data::can_edit() limits who can store the payload; however, because ajax_save_post() re-applies the existing post_status, edits to an already-published listing bypass re-moderation and remain live immediately.
References6
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.191/in…
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.191/in…
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.191/in…
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.191/ve…
- plugins.trac.wordpress.org/changeset?reponame=&old=3746728%40ge…
- www.wordfence.com/threat-intel/vulnerabilities/id/2af46137-6cdc…
Metrics
- CVSS 3.1
-
6.4
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 11 · as of 10 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.