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

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-07T02:29:12.999Z
- Modified: 2026-11-07T18:17:16.290Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'post_content' 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 ([gd_dynamic_conten[gd_tags]t ...]) defeats the plugin's geodir_strip_shortcodes() guard because WordPress's strip_shortcodes() performs only a single pass over registered tags, and HTML-entity-encoded attributes in the resulting shortcode survive wp_kses_post() because kses inspects HTML tags rather than shortcode attribute values.

(As written by CVE List.)

## Affected

- paoltaia GeoDirectory – WP Business Directory Plugin and Classified Listings Directory: up to 2.8.200

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/2db386bd-3edc-48ae-9e32-ac57d472ab5b?source=cve>
- <https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.200/includes/widgets/class-geodir-widget-dynamic-content.php#L456>
- <https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.200/includes/widgets/class-geodir-widget-dynamic-content.php#L169>
- <https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.200/includes/formatting-functions.php#L640>
- <https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.200/includes/class-geodir-post-data.php#L1732>
- <https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.200/includes/class-geodir-ajax.php#L830>
- <https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip>
- <https://plugins.trac.wordpress.org/changeset/3779924/geodirectory/trunk/includes/widgets/class-geodir-widget-dynamic-content.php>

## Sources

- CVE List: [CVE-2026-120082](https://www.cve.org/CVERecord?id=CVE-2026-120082), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2026-120082](https://nvd.nist.gov/vuln/detail/CVE-2026-120082), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2026-120082 · Whole record: https://cve.day/CVE-2026-120082.json · Rebuilt by cve.day 2026-11-25T22:59:49.342Z
