{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-0805",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-12T19:07:11Z",
 "aliases": [
  "CVE-2026-97470"
 ],
 "summary": "Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin <= 3.0.1 - Authenticated (Customer+) Stored Cross-Site Scripting via Improper unfiltered_html Capability Assignment",
 "details": "The Tourfic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via improper privilege management in versions 2.13.11 to 3.0.1, due to the plugin's tf_customer_role_caps() function, which runs on init whenever WooCommerce is active, permanently adding the unfiltered_html capability to the WooCommerce 'customer' role. This makes it possible for authenticated attackers with a customer account, which anyone can get on sites that allow WooCommerce account registration, to bypass WordPress HTML filtering on single-site installations, for example in comments, and inject arbitrary web scripts that execute whenever a user, including an administrator, views the affected content.",
 "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": "tourfic"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "2.13.11"
      },
      {
       "fixed": "3.0.2"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 2.13.11 before 3.0.2"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-0805/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/tourfic/tags/3.0.2/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/tourfic/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-0805/",
  "cwe_ids": [
   "CWE-269"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
