{
 "id": "WPSEC-2026-0805",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0805/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0805/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0805/index.md",
 "title": "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",
 "description": "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.",
 "plugin": {
  "slug": "tourfic",
  "name": "Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin",
  "full_name": "Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental",
  "wordpress_org": "https://wordpress.org/plugins/tourfic/",
  "advisories_url": "https://wpsec.com/vuln/plugin/tourfic/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/tourfic"
 },
 "type": "XSS",
 "cwe": [
  "CWE-269"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.13.11",
    "from_inclusive": true,
    "to": "3.0.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.13.11 before 3.0.2"
  ]
 },
 "introduced_in": "2.13.11",
 "fixed_in": "3.0.2",
 "remediation": "Update to 3.0.2 or later.",
 "fix_released": "2026-10-11T16:18:20+00:00",
 "published": "2026-10-12T19:07:11+00:00",
 "updated": "2026-10-12T11:06:47.266783+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0805/",
  "https://plugins.svn.wordpress.org/tourfic/tags/3.0.2/",
  "https://wordpress.org/plugins/tourfic/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/tourfic",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-12"
 }
}