Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Network-delivered reflected XSS with browser scope change; PR:N as no attacker authentication required, UI:R mandatory, C/I limited to browser-context data only.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
The WP Hotel Booking plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'check_in_date' and 'check_out_date' parameters in all versions up to, and including, 2.3.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
AnalysisAI
Reflected cross-site scripting in the WP Hotel Booking WordPress plugin (all versions up to and including 2.3.1) permits unauthenticated remote attackers to inject arbitrary JavaScript via the check_in_date and check_out_date URL parameters across multiple search result and Elementor widget templates. Successful exploitation requires tricking a victim into clicking a crafted link, after which the injected script executes in the victim's browser context - making logged-in administrators particularly high-value targets. No public exploit has been identified at time of analysis, and this vulnerability does not appear in the CISA KEV catalog.
Technical ContextAI
The WP Hotel Booking plugin (CPE: cpe:2.3:a:thimpress:wp_hotel_booking) by ThimPress provides hotel room search, availability, and booking functionality for WordPress sites. The reflected XSS (CWE-79: Improper Neutralization of Input During Web Page Generation) stems from the check_in_date and check_out_date parameters being echoed into HTML output without adequate sanitization or encoding. Source code references pinpoint at least five affected locations in version 2.3.1: the standard search loop template (templates/search/loop.php#L92), the v2 search loop (templates/search/v2/loop-v2.php#L40), the Elementor archive widget (includes/elementor/widgets/archive-room/list-results-room.php#L214), the core functions file (includes/wphb-functions.php#L748), and the helpers class (includes/class-wphb-helpers.php#L29). The breadth of affected files indicates the unsanitized parameters are passed through shared helpers and then reflected across multiple rendering paths rather than being sanitized at a single entry point.
RemediationAI
Upgrade the WP Hotel Booking plugin to version 2.3.2 or later; WordPress plugin repository references confirm that the affected template files (loop.php, loop-v2.php, list-results-room.php) were modified in the 2.3.2 tag at the same locations where the vulnerability was identified, though an explicit vendor changelog statement was not present in the provided input data. Until patching is possible, deploy a web application firewall rule - such as the Wordfence plugin's built-in firewall or a hosting-level WAF - configured to sanitize or block script-bearing content in the check_in_date and check_out_date GET/POST parameters; note that WAF rules are a mitigating control only and can potentially be bypassed via encoding variants. Administrators should also consider temporarily restricting public access to room search and listing pages if the feature is not operationally critical. Consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/8b56ca04-c6eb-401f-aa8a-b933c0527e51 for the latest vendor guidance.
More in Wp Hotel Booking
View allThe WP Hotel Booking plugin for WordPress is vulnerable to SQL Injection via the 'room_type' parameter of the /wphb/v1/r
The WP Hotel Booking WordPress plugin before 2.0.8 does not have authorisation and CSRF checks, as well as does not esca
SQL injection in the WP Hotel Booking WordPress plugin before 2.3.2 allows users holding plugin-specific booking-managem
Missing authorization controls in the WP Hotel Booking WordPress plugin (all versions before 2.3.1) expose sensitive hos
Reflected Cross-Site Scripting in the WP Hotel Booking WordPress plugin (ThimPress) through version 2.3.2 enables unauth
The WP Hotel Booking WordPress plugin before 2.0.8 does not have proper authorisation when deleting a package, allowing
The WP Hotel Booking WordPress plugin before 2.0.8 does not have authorisation and CSRF checks, as well as does not ensu
The WP Hotel Booking plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in
Path Traversal: '.../...//' vulnerability in ThimPress WP Hotel Booking wp-hotel-booking allows PHP Local File Inclusion
Missing Authorization vulnerability in ThimPress WP Hotel Booking.0.9.2. Rated medium severity (CVSS 6.5), this vulnerab
Stored XSS in the WP Hotel Booking WordPress plugin (all versions through 2.3.2) allows authenticated contributors to in
Payment bypass in WP Hotel Booking (WordPress plugin, all versions ≤2.3.1) allows unauthenticated attackers to mark arbi
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42786
GHSA-8989-8rh8-rh5m