Vulnerabilities / GeoDirectory / WPSEC-2026-0307

GeoDirectory <= 2.8.182 - Authenticated (Subscriber+) Stored Cross-Site Scripting via URL Custom Field Link Label

Medium 6.4 CWE-79Fixed in 2.8.183
ID
WPSEC-2026-0307
Plugin
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory (geodirectory)
Affected
all versions before 2.8.183
Remediation
Update to 2.8.183 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-10-22
Attack surface
GeoDirectory on WPSec AttackSurface
Fix released
Published

Description

The GeoDirectory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the link label of URL-type custom fields (such as the Website field) in all versions up to, and including, 2.8.182. This is due to the label part of a URL field value (the text after a '|' separator) being decoded when the listing is displayed and printed into the link text without output escaping, while the URL sanitization applied on save keeps the separator and percent-encoded characters. This makes it possible for authenticated attackers, with subscriber-level access and above who can submit listings from the front end, to inject arbitrary web scripts in pages that will execute whenever a user accesses the listing.

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