What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
WP Hotel Booking versions 2.3.1 and earlier contain a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into the site. An attacker can craft a malicious link that, when visited by a site administrator or user, executes arbitrary JavaScript in their browser. This can lead to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim.
What an attacker can do
03Attacker Capabilities
Inject and execute malicious JavaScript in a user's browser to steal credentials or perform unauthorized actions.
Potential impact on your site
04Site Impact
Administrators and users who click malicious links could have their sessions hijacked or credentials stolen, compromising site security.
Conditions required to exploit
05Prerequisites
Attacker must trick a user into clicking a malicious link or visiting a crafted page (user interaction required).
Key dates
06Disclosure timeline
July 10, 2026
CVE published