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
- ID
- WPSEC-2026-0805
- Plugin
- Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental (tourfic)
- Affected
- from 2.13.11 before 3.0.2
- Remediation
- Update to 3.0.2 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-269
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-12
- Attack surface
- Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress Plugin on WPSec AttackSurface
- Fix released
- Published
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.
References
- https://wpsec.com/vuln/WPSEC-2026-0805/
- https://plugins.svn.wordpress.org/tourfic/tags/3.0.2/
- https://wordpress.org/plugins/tourfic/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS