CVE-2026-131866
The GeoDirectory – WP Business Directory Plugin and Classified …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/AyeCode/geodirectory/commit/95a04f7639643259af66724495d1da5a4a65f9aa
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/assets/aui/js/geodirectory.js
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/assets/aui/js/geodirectory.js
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/class-geodir-ajax.ph
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/class-geodir-post-da
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/class-geodir-post-da
- plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.203/includes/custom-fields/output
- plugins.trac.wordpress.org/changeset/3809491/geodirectory/trunk/assets/aui/js/geodirectory
- nvd.nist.gov/vuln/detail/CVE-2026-131866
- cve.org/CVERecord?id=CVE-2026-131866
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.