Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-103480 Overview
CVE-2026-103480 is a Stored Cross-Site Scripting (XSS) vulnerability in the Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental plugin for WordPress. The flaw affects all versions up to and including 3.0.1. It stems from insufficient input sanitization and output escaping on the type parameter processed by the plugin's Wishlist shortcode. Authenticated attackers with contributor-level access or higher can inject arbitrary web scripts that execute when any user, including unauthenticated guests, views an affected page. The weakness is tracked under CWE-79.
Critical Impact
Stored XSS payloads persist across sessions and execute in the browsers of site visitors, enabling session theft, administrative action hijacking, and client-side redirection to attacker-controlled resources.
Affected Products
- Tourfic – AI Powered Travel Booking, Hotel Booking & Car Rental plugin for WordPress
- All versions up to and including 3.0.1
- Fixed in version 3.0.2
Discovery Timeline
- 2026-10-16 - CVE-2026-103480 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-103480
Vulnerability Analysis
The vulnerability resides in the plugin's Wishlist shortcode handler, implemented in inc/App/Shortcodes/Wishlist.php. The type parameter supplied through the shortcode is written into an HTML attribute in the rendered output without proper escaping. Although wp_kses_post runs on save, it does not strip the payload because the attack does not require angle-bracket characters. An attacker can inject an attribute-breaking string that introduces an event handler such as onmouseover or onfocus, which survives storage intact.
When the page is later rendered to unauthenticated visitors, the unescaped attribute value executes as a live DOM event handler. Because the payload persists in the database, every visitor to the affected page becomes a target without any further interaction from the attacker.
Root Cause
The root cause is a combination of missing attribute-context output escaping and reliance on wp_kses_post as the sole sanitization boundary. wp_kses_post is tuned for post content and does not neutralize attribute-injection payloads lacking < or >. The guest rendering branch emits the stored value directly into an HTML attribute, bypassing contextual escaping functions such as esc_attr.
Attack Vector
Exploitation requires an authenticated account with contributor-level privileges or higher. The attacker crafts a shortcode or page content that sets the type parameter to a value containing an attribute-break followed by an event handler. On save, the payload is retained. When any user, including unauthenticated guests, loads the page containing the Wishlist shortcode, the injected handler fires in their browser.
Refer to the Wordfence Vulnerability Report and the WordPress Tourfic Code Review at line 19 for the affected source paths.
Detection Methods for CVE-2026-103480
Indicators of Compromise
- Pages or posts containing Wishlist shortcodes with unusual type attribute values that include event-handler keywords such as onmouseover, onfocus, onerror, or onload.
- Database rows in wp_posts or wp_postmeta where stored content contains attribute-break sequences followed by JavaScript event handlers.
- Outbound browser requests from visitor sessions to unexpected domains originating from pages rendered by the Tourfic plugin.
Detection Strategies
- Audit all contributor and author accounts for recent post or page edits that reference the Tourfic Wishlist shortcode.
- Grep plugin-rendered output for attributes constructed from the type parameter and inspect for unescaped user input.
- Deploy web application firewall signatures that match attribute-injection patterns in POST bodies submitted to /wp-admin/post.php and /wp-admin/admin-ajax.php.
Monitoring Recommendations
- Log and alert on contributor-role content submissions containing the strings on immediately followed by an alphabetic character inside shortcode parameters.
- Monitor WordPress audit logs for new or modified pages that embed the Wishlist shortcode.
- Track client-side script execution anomalies via Content Security Policy violation reports.
How to Mitigate CVE-2026-103480
Immediate Actions Required
- Upgrade the Tourfic plugin to version 3.0.2 or later immediately.
- Review all pages containing the Wishlist shortcode and remove any suspicious type parameter values.
- Audit contributor and author account activity for the period preceding the patch and reset credentials for any accounts showing signs of misuse.
Patch Information
The vendor addressed the issue in Tourfic version 3.0.2. Download the patched release from the WordPress Plugin Tourfic Download page. The fix applies contextual output escaping to the type parameter in the Wishlist shortcode render path.
Workarounds
- Restrict contributor-level and higher account creation and enforce multi-factor authentication for all content-authoring roles.
- Temporarily disable the Tourfic plugin or remove the Wishlist shortcode from public pages until the patch is applied.
- Enforce a strict Content Security Policy that disallows inline event handlers to reduce the impact of successful injection.
# Configuration example: enforce a restrictive CSP via .htaccess
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

