Tourfic Authenticated Stored Cross-Site Scripting via Comment Content
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The Tourfic plugin is vulnerable to Stored Cross-Site Scripting via Comment Content in all versions up to and including 3.0.1, due to insufficient input sanitization and output escaping. Authenticated attackers with Subscriber-level access or above can inject scripts that run when a user opens an injected page. The attack requires WooCommerce, and because the Customer role is self-registerable, any visitor who registers a WooCommerce account can exploit it. The unauthenticated GET /wp-json/wp/v2/comments endpoint and RSS feeds return the payload unsanitized, exposing headless clients, feed readers and third-party widgets.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
The Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content via unfiltered_html Grant to Customer Role in all versions up to, and including, 3.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires WooCommerce to be active, but since the customer role is freely self-registerable without admin approval, exploitation is effectively possible by any unauthenticated visitor who registers a WooCommerce account. While the plugin's own listing-page templates sanitize output with wp_kses_post(), the stored payload is returned unsanitized via the unauthenticated GET /wp-json/wp/v2/comments REST endpoint (content.rendered) and post/comment RSS feeds, exposing any headless client, feed reader, or third-party widget that renders comment content.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for versions up to and including 3.0.1. Remove the unfiltered_html capability from the Customer role, and do not render comment content from the REST endpoint or the feeds in untrusted clients until a fix is released.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-16 Threatist record created from CVE-2026-97470
References
Other 4
- https://www.wordfence.com/threat-intel/vulnerabilities/id/468451f8-699d-4bb9-9e34-f35a537ac522?source=cve
- https://plugins.trac.wordpress.org/browser/tourfic/tags/2.23.5/inc/Traits/Action_Helper.php#L778
- https://plugins.trac.wordpress.org/browser/tourfic/tags/2.23.5/inc/Classes/Helper.php#L38
- https://plugins.trac.wordpress.org/browser/tourfic/tags/2.23.5/inc/App/TF_Review.php#L154
More Themefic vulnerabilities
- TI-2023-02626 Ultimate Addons for Contact Form 7 < 3.1.29 - Reflected XSS CVSS 3.1MEDIUM 6.1
- TI-2026-57195 Ultra Addons for Contact Form 7 <= 3.5.50 - Unauthenticated Arbitrary File Upload via Signature Form Field CVSS 3.1CRITICAL 9.8
- TI-2023-02625 Ultimate Addons for Contact Form 7 < 3.1.29 - Admin+ Stored XSS CVSS 3.1MEDIUM 4.8
- TI-2026-83954 Arbitrary file deletion in Ultra Addons for Contact Form 7 CVSS 3.1CRITICAL 9.8
- TI-2024-19308 WordPress Tourfic plugin <= 2.11.15 - Arbitrary File Upload vulnerability CVSS 3.1CRITICAL 9.9
- TI-2022-23624 WordPress Ultimate Addons for Contact Form 7 Plugin <= 3.1.23 is vulnerable to SQL Injection CVSS 3.1CRITICAL 9.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences