CVE-2026-120082: GeoDirectory <= 2.8.200 - Unauthenticated Stored Cross-Site Scripting via Nested '[gd_dynamic_content]' Shortcode in post_content

Published Nov 7, 2026
·
Updated

The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'postcontent' parameter in all versions up to, and including, 2.8.200 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The nested shortcode payload ([gddynamicconten[gdtags]t ...]) defeats the plugin's geodirstripshortcodes() guard because WordPress's stripshortcodes() performs only a single pass over registered tags, and HTML-entity-encoded attributes in the resulting shortcode survive wpksespost() because kses inspects HTML tags rather than shortcode attribute values.

Affected Software

1 affected component
GeoDirectory GeoDirectory<=2.8.200

Event History

Nov 7, 2026
CVE Published
via MITRE·02:29 AM
Data Sourced
via MITRE·02:29 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An unauthenticated attacker can exploit it by supplying a crafted nested gd_dynamic_content shortcode payload through the post_content parameter. No authenticated WordPress account is required according to the available data.

2

Which installations are affected?

GeoDirectory versions up to and including 2.8.200 are affected. The available data does not identify a configuration change that disables the vulnerable processing.

3

What happens after a malicious payload is stored?

Arbitrary web scripts can execute in the browser of any user who accesses the injected page. The payload is stored in page content rather than requiring the attacker to be present when a victim views it.

4

How can I look for possible exploitation?

Review page post_content for suspicious or malformed nested shortcode text resembling [gd_dynamic_conten[gd_tags]t ...], especially shortcode attributes containing HTML-entity-encoded values. The described bypass relies on nested shortcode parsing and encoded attributes surviving the plugin's sanitization path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203