{"id":"CVE-2026-120082","kind":"vulnerability","aliases":["CVE-2026-120082"],"related":[],"title":"WordPress GeoDirectory plugin: unauthenticated stored XSS via post content","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.","summary":"The GeoDirectory WordPress directory plugin does not sanitize the post_content parameter well enough, so unauthenticated attackers can store scripts in pages. Those scripts run in the browser of any user who opens the injected page.","severity":"high","cvss":7.2,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"geodirectory","fixed":["2.8.201"],"affected":"<= 2.8.200","ecosystem":"wordpress"}],"ecosystems":[],"tags":["geodirectory","package","self-hosted","wordpress"],"not_affected_if":["patched-2.8.201","plugin-not-installed"],"how_to_check":"- In WordPress admin > Plugins, check the GeoDirectory version; 2.8.200 or earlier is affected, 2.8.201 or later is fixed.\n- Or run: wp plugin get geodirectory --field=version\n- Review recently submitted listings/posts for nested shortcodes such as [gd_dynamic_conten[gd_tags]t ...] or entity-encoded attributes in post_content.","fix":"Update GeoDirectory to 2.8.201 or later (latest listed by the vendor: 2.8.202, 2026-11-04).","status":"open","published_at":"2026-11-07T03:17:02+00:00","first_seen_at":"2026-11-07T03:45:33+00:00","triaged_at":"2026-11-07T03:47:45+00:00","updated_at":"2026-11-07T03:48:29+00:00","category":"package","confidence":0.85,"triage":{"at":"2026-11-07T03:47:45Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"WordPress GeoDirectory plugin: unauthenticated stored XSS via post content","impact":"medium","summary":"The GeoDirectory WordPress directory plugin does not sanitize the post_content parameter well enough, so unauthenticated attackers can store scripts in pages. Those scripts run in the browser of any user who opens the injected page.","audience":"businesses","category":"package","nicknames":[],"who_cares":["wordpress","geodirectory","self-hosted"],"confidence":0.7,"fix_status":"unknown","needs_auth":"no","worst_case":"Attacker-injected scripts run in visitors' and admins' browsers","analyst_note":"Confirm the fixed version and whether the vendor has released a patch; the NVD entry is the only source given.","how_to_check":"- Check whether the GeoDirectory plugin (WP Business Directory Plugin and Classified Listings Directory) is installed and its version in the WordPress admin plugins list\n- Compare the installed version against the product range in the sources; the sources state versions up to and including `2.8.200` are affected\n- Check whether the sources name a fixed version: unknown","plain_action":"","needs_analyst":true,"not_affected_if":["plugin-not-installed"],"who_is_affected":"Sites running the GeoDirectory WordPress plugin at version 2.8.200 or earlier are exposed, since the flaw is in how it stores page content from unauthenticated requests. Sites without the plugin, or running a version the sources do not list as affected, can skip it. unknown whether a fixed version exists.","user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000737,"input_tokens":4423,"output_tokens":589,"severity_before":"high"},"analyst_status":"done","analyst_note":"Confirm the fixed version and whether the vendor has released a patch; the NVD entry is the only source given.","search":"'-120082':12A,15A '-2026':11A,14A '2.8.200':92C 'access':121C 'arbitrari':110C 'attack':39B,107C 'attribut':161C,178C 'browser':50B 'busi':62C 'classifi':66C 'conten':131C 'content':9A,33B,83C 'cross':77C 'cross-sit':76C 'cve':10A,13A 'defeat':135C 'directori':26B,63C,68C 'due':93C 'dynam':130C 'encod':160C 'enough':36B 'entiti':159C 'escap':100C 'execut':117C 'gd':129C,132C 'geodir':139C 'geodirectori':2A,17B,24B,60C 'geodirectory':16A 'guard':142C 'host':21B 'html':158C,173C 'html-entity-encod':157C 'includ':91C 'inject':57B,109C,123C 'input':96C 'inspect':172C 'insuffici':95C 'kses':168C,171C 'list':67C 'make':102C 'nest':126C 'open':55B 'output':99C 'packag':18B 'page':44B,58B,114C,124C 'paramet':34B,84C 'pass':152C 'payload':128C 'perform':148C 'plugin':3A,27B,64C,69C,137C 'possibl':104C 'post':8A,32B,82C,169C 'rather':175C 'regist':154C 'result':164C 'run':47B 'sanit':30B,97C 'script':42B,46B,79C,112C 'self':20B 'self-host':19B 'shortcod':127C,141C,147C,165C,177C 'singl':151C 'site':78C 'store':5A,41B,75C 'strip':140C,146C 'surviv':166C 'tag':133C,155C,174C 'unauthent':4A,38B,106C 'user':53B,120C 'valu':179C 'version':87C 'via':7A,80C 'vulner':73C 'web':111C 'well':35B 'whenev':118C 'wordpress':1A,22B,25B,71C,144C 'wp':61C,167C 'xss':6A","nicknames":[],"mitigations":[],"who_affected":"WordPress sites running the GeoDirectory plugin at 2.8.200 or earlier are exposed, because unauthenticated requests can store a script in post_content that runs in any visitor's browser. Directory and classified-listing sites that accept public submissions are the ones to check. Sites without the plugin, or on 2.8.201 or later, can skip it.","tier":"B","verified":{"fix":{"at":"2026-11-07T03:48:29Z","by":"analyst","doc":"https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/geodirectory/geodirectory-28200-unauthenticated-stored-cross-site-scripting-via-nested-gd-dynamic-content-shortcode-in-post-content","run_id":1947}},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":["geodirectory"],"ptokens":["geodirectory"],"labels":["geodirectory","high","package","selfhosted","wordpress"],"campaign_type":null,"search_a":"'-120082':12A,15A '-2026':11A,14A 'content':9A 'cve':10A,13A 'geodirectori':2A 'geodirectory':16A 'plugin':3A 'post':8A 'store':5A 'unauthent':4A 'via':7A 'wordpress':1A 'xss':6A","search_b":"'attack':39B 'browser':50B 'content':33B 'directori':26B 'enough':36B 'geodirectori':17B,24B 'host':21B 'inject':57B 'open':55B 'packag':18B 'page':44B,58B 'paramet':34B 'plugin':27B 'post':32B 'run':47B 'sanit':30B 'script':42B,46B 'self':20B 'self-host':19B 'store':41B 'unauthent':38B 'user':53B 'well':35B 'wordpress':22B,25B","search_c":"'2.8.200':92C 'access':121C 'arbitrari':110C 'attack':107C 'attribut':161C,178C 'busi':62C 'classifi':66C 'conten':131C 'content':83C 'cross':77C 'cross-sit':76C 'defeat':135C 'directori':63C,68C 'due':93C 'dynam':130C 'encod':160C 'entiti':159C 'escap':100C 'execut':117C 'gd':129C,132C 'geodir':139C 'geodirectori':60C 'guard':142C 'html':158C,173C 'html-entity-encod':157C 'includ':91C 'inject':109C,123C 'input':96C 'inspect':172C 'insuffici':95C 'kses':168C,171C 'list':67C 'make':102C 'nest':126C 'output':99C 'page':114C,124C 'paramet':84C 'pass':152C 'payload':128C 'perform':148C 'plugin':64C,69C,137C 'possibl':104C 'post':82C,169C 'rather':175C 'regist':154C 'result':164C 'sanit':97C 'script':79C,112C 'shortcod':127C,141C,147C,165C,177C 'singl':151C 'site':78C 'store':75C 'strip':140C,146C 'surviv':166C 'tag':133C,155C,174C 'unauthent':106C 'user':120C 'valu':179C 'version':87C 'via':80C 'vulner':73C 'web':111C 'whenev':118C 'wordpress':71C,144C 'wp':61C,167C","first_public_at":"2026-11-07T03:17:02+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","cvss_by":"security@wordfence.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-120082","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120082","severity":null,"published_at":"2026-11-07T03:17:02+00:00","modified_at":"2026-11-07T03:17:02+00:00","first_seen_at":"2026-11-07T03:45:33+00:00","fetched_at":"2026-11-07T03:45:33+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-120082:1947","url":"https://wpgeodirectory.com/change-logs/","severity":null,"published_at":"2026-11-07T03:48:29+00:00","modified_at":"2026-11-07T03:48:29+00:00","first_seen_at":"2026-11-07T03:48:29+00:00","fetched_at":"2026-11-07T03:48:29+00:00","note":"Wordfence advisory: affected <= 2.8.200, patched 2.8.201. Vendor changelog 2.8.201 (2026-11-02): 'Strip nested shortcodes & sanitize Dynamic Content widget html to prevent XSS' (vendor does not name the CVE; match via Wordfence's description). No exploitation or public PoC found; not checked social posts.","cites":["https://wpgeodirectory.com/change-logs/","https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/geodirectory/geodirectory-28200-unauthenticated-stored-cross-site-scripting-via-nested-gd-dynamic-content-shortcode-in-post-content"]}],"documents":[{"id":92524,"url":"https://wpgeodirectory.com/change-logs/","title":"GeoDirectory Changelog (v2.8.201)","kind":"vendor","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"fix","confidence":null,"note":null},{"id":92525,"url":"https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/geodirectory/geodirectory-28200-unauthenticated-stored-cross-site-scripting-via-nested-gd-dynamic-content-shortcode-in-post-content","title":"Wordfence: GeoDirectory <= 2.8.200 Unauthenticated Stored XSS","kind":"advisory","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"advisory","confidence":null,"note":null}],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}