What the vulnerability does
01Description
The WP Hotel Booking plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'widget_search' Shortcode Attribute in all versions up to, and including, 2.3.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only exploitable on browsers where access keys can be used as the payload is stored in a hidden attribute.
Explanation of Vulnerability in Simple Terms
02Summary
WP Hotel Booking versions 2.3.2 and earlier contain a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts. The vulnerability has a changed scope, meaning the impact can extend beyond the vulnerable component to affect other users or site functionality. Site administrators should update to a version newer than 2.3.2 as soon as a patch becomes available.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that executes in other users' browsers and affects site functionality.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other visitors or site operations; customer data and site integrity at risk.
Conditions required to exploit
05Prerequisites
Attacker must have a valid user account with low-level privileges (e.g., customer or subscriber role).
Key dates
06Disclosure timeline
July 24, 2026
CVE published