Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-28166

CVE-2026-28166: Tourmaster XSS Vulnerability

CVE-2026-28166 is an unauthenticated cross-site scripting flaw in Tourmaster versions 5.4.9 and earlier that allows attackers to inject malicious scripts. This post explains its impact, affected versions, and mitigation steps.

Updated:

CVE-2026-28166 Overview

CVE-2026-28166 is an unauthenticated Cross-Site Scripting (XSS) vulnerability affecting the WordPress Tourmaster plugin in versions 5.4.9 and earlier. The flaw allows remote attackers to inject arbitrary JavaScript that executes in the browsers of users who interact with crafted requests or links. Because exploitation requires no authentication, any visitor to a vulnerable site can be targeted. The issue is tracked under CWE-79 and was published to the National Vulnerability Database on 2026-08-24.

Critical Impact

Successful exploitation enables script execution in the victim's browser context, leading to session theft, credential harvesting, or administrative account takeover through targeted attacks against WordPress site administrators.

Affected Products

  • Tourmaster WordPress plugin, versions ≤ 5.4.9
  • WordPress sites using the affected Tourmaster plugin
  • Any hosted environment exposing the vulnerable plugin endpoints to the internet

Discovery Timeline

  • 2026-08-24 - CVE-2026-28166 published to the National Vulnerability Database
  • 2026-08-24 - Last updated in the NVD database

Technical Details for CVE-2026-28166

Vulnerability Analysis

The Tourmaster plugin fails to properly sanitize and encode user-supplied input before reflecting it into HTML responses. An unauthenticated attacker can craft a payload containing JavaScript that the plugin renders without escaping. When a victim loads the response, the browser executes the injected script in the origin of the WordPress site.

The vulnerability is classified as reflected XSS with a changed scope, meaning the injected code can affect resources beyond the vulnerable component itself. Attack complexity is low and delivery typically occurs through a crafted URL or form submission that the victim clicks.

Root Cause

The root cause is improper neutralization of input during web page generation, mapped to CWE-79. The plugin echoes request parameters back into HTML responses without applying context-appropriate output encoding such as esc_html(), esc_attr(), or wp_kses(). WordPress provides these sanitization primitives specifically to prevent this class of flaw.

Attack Vector

Exploitation requires user interaction, typically clicking a malicious link. The attacker crafts a URL targeting a vulnerable Tourmaster endpoint, embedding a JavaScript payload in a query parameter. When a victim visits the URL, the payload executes with the privileges of that victim's session on the WordPress site. Targeting a logged-in administrator can escalate the impact to full site compromise via cookie theft or forced administrative actions.

Details are available in the Patchstack Tourmaster XSS Vulnerability advisory.

Detection Methods for CVE-2026-28166

Indicators of Compromise

  • Web server access logs containing requests to Tourmaster plugin endpoints with <script>, javascript:, onerror=, or onload= substrings in query parameters
  • HTTP referrers pointing to attacker-controlled domains that redirect visitors to the WordPress site with encoded payloads
  • Unexpected outbound requests from administrator browsers to unfamiliar domains shortly after visiting plugin URLs
  • New or modified WordPress administrator accounts without a corresponding audit trail

Detection Strategies

  • Deploy web application firewall rules that inspect query strings and form parameters for common XSS patterns targeting Tourmaster endpoints
  • Correlate WordPress wp-admin activity with preceding requests containing suspicious parameter values
  • Hunt for browser telemetry showing script execution originating from Tourmaster-served pages

Monitoring Recommendations

  • Enable verbose HTTP request logging for the WordPress site and forward it to a centralized analytics platform for parameter inspection
  • Alert on administrator session cookies being transmitted to external hosts or non-standard endpoints
  • Track plugin version inventory across all managed WordPress instances to identify unpatched Tourmaster deployments

How to Mitigate CVE-2026-28166

Immediate Actions Required

  • Identify all WordPress sites running Tourmaster and confirm the installed version
  • Upgrade Tourmaster to a version above 5.4.9 as soon as a patched release is available from the vendor
  • Invalidate active administrator sessions and rotate credentials if suspicious activity is observed
  • Deploy WAF rules blocking XSS payload patterns against Tourmaster URLs until patching is complete

Patch Information

Refer to the Patchstack Tourmaster XSS Vulnerability advisory for the latest patched version and vendor guidance. Apply the vendor-supplied update through the WordPress plugin manager and verify the new version number after installation.

Workarounds

  • Disable the Tourmaster plugin until a fixed version is installed if the functionality is not business-critical
  • Restrict access to Tourmaster endpoints at the reverse proxy or WAF layer using allow-lists
  • Enforce a strict Content Security Policy (CSP) that disallows inline scripts and untrusted origins to reduce XSS impact
  • Instruct administrators to avoid clicking untrusted links pointing to the WordPress site until the patch is applied

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.