{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3720",
 "modified": "2026-11-23T09:43:59Z",
 "published": "2026-11-23T09:43:59Z",
 "summary": "Directorist: AI-Powered Business Directory, Listings & Classified Ads <= 8.11.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via File Upload Field",
 "details": "The Directorist plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the listing File Upload field in all versions up to, and including, 8.11.3. This is due to insufficient validation of the submitted file URL and attachment ID values, which are only processed with sanitize_text_field, and to the file preview script inserting them without escaping into the src and data attributes of the preview markup. This makes it possible for authenticated attackers with subscriber-level access or higher who can submit listings to inject arbitrary web scripts that run whenever a user, including an administrator, opens the listing's edit form on the front end or in wp-admin.",
 "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": "directorist"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "8.12"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 8.12"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3720/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/directorist/tags/8.12/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/directorist/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3720/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
