GeoDirectory <= 2.8.192 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'twitterusername' Custom Field
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'twitterusername' parameter in all versions up to, and including, 2.8.192 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 client-side HTML pattern attribute enforcing alphanumeric-only input on the twitterusername field is not validated server-side, allowing a listing owner with Subscriber-level access to submit an attribute-breakout payload that bypasses sanitization and is stored directly to the custom field table.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- paoltaia GeoDirectory – WP Business Directory Plugin and Classified Listings Directory
through 2.8.192
References 8
plugins.trac.wordpress.org
- browser/geodirectory/tags/2.8.192/includes/custom-fields/output-filter-functions.php#L42
- browser/geodirectory/tags/2.8.192/includes/class-geodir-ajax.php#L821
- browser/geodirectory/tags/2.8.192/includes/class-geodir-post-data.php#L1661
- browser/geodirectory/tags/2.8.192/includes/class-geodir-post-data.php#L450
- browser/geodirectory/tags/2.8.192/includes/post-functions.php#L1950
- changeset/3748786/geodirectory/trunk/includes/custom-fields/output-filter-functions.php