GeoDirectory – WP Business Directory Plugin and Classified Listings Directory <= 2.8.205 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Lightbox 'data-lity-target' and 'data-lity-options' Attributes
- ID
- WPSEC-2026-3090
- Plugin
- GeoDirectory – WP Business Directory Plugin and Classified Listings Directory (geodirectory)
- Affected
- all versions before 2.8.206
- Remediation
- Update to 2.8.206 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-13
- 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 Stored Cross-Site Scripting via the lightbox (lity) 'data-lity-target', 'data-lity' and 'data-lity-options' HTML attributes in listing content and HTML fields in all versions up to, and including, 2.8.205. This is due to insufficient server-side sanitization of these attributes and unsafe handling in the bundled lightbox script. The script reads the target from the clicked element and passes it to jQuery, which parses HTML-shaped values as HTML. It also accepts options from the element that can replace the lightbox template, and it inserts image and iframe URLs into HTML without escaping. This makes it possible for authenticated attackers with subscriber-level access and above, who can submit listings through the front-end form, to inject arbitrary web scripts in listing pages. The scripts run when a user clicks the injected element and the site uses the legacy design style, where the lightbox script loads on the front end.
References
- https://wpsec.com/vuln/WPSEC-2026-3090/
- https://plugins.svn.wordpress.org/geodirectory/tags/2.8.206/
- https://wordpress.org/plugins/geodirectory/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS