---
id: CVE-2026-104993
title: >-
  The GeoDirectory – WP Business Directory Plugin and Classified Listings
  Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting
  via the 'email (Contact Email custom field htmlvar_name)' parameter in all
  versions up to…
summary: >-
  The GeoDirectory – WP Business Directory Plugin and Classified Listings
  Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting
  via the 'email (Contact Email custom field htmlvar_name)' parameter in all
  versions up to…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-10-10'
updated: '2026-10-10'
sourceUpdated: '2026-10-10T05:16:39.880'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104993'
references:
  - url: 'https://github.com/AyeCode/geodirectory/archive/refs/heads/master.zip'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.188/includes/class-geodir-post-data.php#L949
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.188/includes/custom-fields/output-functions.php#L1448
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/geodirectory/tags/2.8.188/includes/post-functions.php#L1845
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3728472/geodirectory/trunk/includes/custom-fields/output-functions.php
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/1356ec70-4264-4687-8082-7d87a8978082?source=cve
    label: security@wordfence.com
tags:
  - nvd
ingestedAt: '2026-10-10T05:23:33.492Z'
---

## Overview

The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'email (Contact Email custom field htmlvar_name)' parameter in all versions up to, and including, 2.8.188 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. Successful exploitation requires that an administrator has added and configured the Contact Email custom field to render on the public single-listing output page, and that the administrator subsequently approves the attacker's submitted listing.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
