Description
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.
Published: 2026-10-16
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch Immediately
AI Analysis

Impact

The vulnerability allows an authenticated user with subscriber‑level access to place arbitrary JavaScript into comment content because the plugin does not sanitize input and fails to escape output. When the comment is later retrieved via the REST endpoint or RSS feeds, the malicious script runs in the browsers of any user who views the affected page or feed, enabling session hijacking, defacement, or delivery of further malware. The weakness is a classic input validation flaw (CWE‑79).

Affected Systems

All installations of the Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental WordPress plugin up to and including version 3.0.1 are vulnerable. The plugin must be used in a WordPress site with WooCommerce active, as the customer role is self‑registerable without administrative approval, so any visitor can acquire the required subscriber privilege and post a malicious comment.

Risk and Exploitability

The CVSS score of 6.4 places the vulnerability in the medium severity range, and the EPSS score is not available. It is not currently listed in CISA’s KEV catalog, indicating no confirmed, large‑scale exploitation in the wild. Exploitation requires legitimate authentication to a customer role and the ability to post a comment; it is then stored and exposed to any visitor from the /wp-json/wp/v2/comments endpoint or RSS feeds, making it fairly easy to reach unsuspecting users who load comment content, even via headless clients or third‑party widgets.

Generated by OpenCVE AI on October 16, 2026 at 17:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Tourfic to version 3.0.2 or later, when the comment sanitization fix is released.
  • Revoke the unfiltered_html capability from the customer role or remove the customer role entirely if it is not required.
  • Disable or restrict comment posting to users with administrator or editor roles to block the injection point.

Generated by OpenCVE AI on October 16, 2026 at 17:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Themefic
Themefic tourfic – Ai Powered Travel Booking, Hotel Booking & Car Rental Wordpress Plugin
Wordpress-extensions
Wordpress-extensions tourfic
Vendors & Products Themefic
Themefic tourfic – Ai Powered Travel Booking, Hotel Booking & Car Rental Wordpress Plugin
Wordpress-extensions
Wordpress-extensions tourfic

Fri, 16 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Tourfic <= 3.0.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Comment Content via unfiltered_html Grant to Customer Role
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Themefic Tourfic – Ai Powered Travel Booking, Hotel Booking & Car Rental Wordpress Plugin
Wordpress-extensions Tourfic
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T14:39:00.593Z

Reserved: 2026-09-24T15:59:13.616Z

Link: CVE-2026-97470

cve-icon Vulnrichment

Updated: 2026-10-16T14:33:19.179Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T14:19:27.763

Modified: 2026-10-16T15:17:38.140

Link: CVE-2026-97470

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T20:22:24Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')