{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3896",
 "modified": "2026-11-25T14:46:40Z",
 "published": "2026-11-25T14:46:40Z",
 "summary": "GeoDirectory – WP Business Directory Plugin and Classified Listings Directory <= 2.8.207 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Time and Business Hours Custom Fields",
 "details": "The GeoDirectory plugin for WordPress is vulnerable to Stored Cross-Site Scripting via listing custom fields of the time type (and other field types with no sanitize callback) and via array-formatted business hours values in all versions up to, and including, 2.8.207. This is due to the listing save routine storing these values without any sanitization (the time field type had no sanitizer and the business hours sanitizer skipped array input), and the 'value (saved in database)' output of the custom field renderers returning the stored value without escaping. This makes it possible for authenticated attackers with subscriber-level access and above, who can submit or edit listings through the frontend add-listing form, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires that the site displays the affected field with the raw 'value (saved in database)' output, such as through the GD Post Meta widget or shortcode, or the Elementor or Bricks dynamic tags, which use this output by default.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "geodirectory"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "2.0.0.82"
      },
      {
       "fixed": "2.8.208"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 2.0.0.82 before 2.8.208"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3896/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/geodirectory/tags/2.8.208/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/geodirectory/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3896/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
