GeoDirectory <= 2.8.207 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'time' (and other unfiltered) Custom Field Values
- State
- Published
- Severity
- 6.4 Medium
- Published
- Nov 26, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 23, 2026
Description
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'opentime (any custom field whose field_type has no geodir_custom_field_value_{type} filter — e.g. time, file, images)' parameter in all versions up to, and including, 2.8.207 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. The raw payload is returned unescaped by geodir_cf_time() only when the listing is rendered with the value-raw display mode (e.g., via the [gd_post_meta show="value-raw"] shortcode or block), which is required for script execution.
| Product | Versions |
|---|---|
| GeoDirectory – WP Business Directory Plugin and Classified Listings Directory paoltaia | 2.8.207 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.4 Medium | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0afdcf98-a544-43eb-ba03-162cd6e5f12c?source=cve
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.202/includes/class-geodir-post-data.php#L492
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.202/includes/custom-fields/output-functions.php#L585
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.202/includes/class-geodir-post-data.php#L1732
- https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.202/includes/class-geodir-ajax.php#L830
- https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip
- https://plugins.trac.wordpress.org/changeset/3820721/geodirectory/trunk/includes/custom-fields/output-functions.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.