GeoDirectory – WP Business Directory Plugin and Classified Listings Directory <= 2.8.206 - Authenticated (Subscriber+) DOM-Based Stored Cross-Site Scripting via Business Hours Display Script

Medium 6.4 CWE-79Fixed in 2.8.207
ID
WPSEC-2026-3504
Plugin
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory (geodirectory)
Affected
all versions before 2.8.207
Remediation
Update to 2.8.207 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-19
Attack surface
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory on WPSec AttackSurface
Fix released
Published

Description

The GeoDirectory plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via the front-end business hours display script in all versions up to, and including, 2.8.206. This is due to the script reading the day label of any element marked up as a business-hours block with jQuery's .text(), which decodes HTML entities, and inserting the result into the page with .html() without escaping. Listing content and HTML fields are filtered with wp_kses, which keeps class and data-* attributes. As a result, a fake business-hours block with an entity-encoded payload survives sanitization. This makes it possible for authenticated attackers with subscriber-level access and above who can submit listings, as well as contributors through regular post content, to inject arbitrary web scripts that execute whenever a user views the affected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0