Security Alert Summary
The WP Hotel Booking plugin for WordPress is affected by a reflected cross-site scripting (XSS) vulnerability in versions up to and including 2.3.1. Unsanitized input in the check_in_date and check_out_date parameters can allow an unauthenticated attacker to inject scripts that execute when a user is tricked into clicking a crafted link.
CVE Details
- CVE ID:
CVE-2026-11392 - Affected component: WP Hotel Booking plugin for WordPress
- Affected versions: All versions up to and including 2.3.1
- Published: July 10, 2026 4:17:35 AM UTC
- Last modified: July 10, 2026 3:43:30 PM UTC
- CVSS v3.1 Base Score: 6.1 (MEDIUM)
- CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Authentication / Privileges / User interaction: No privileges required (NONE); user interaction required (REQUIRED)
- Primary impact: Confidentiality: LOW; Integrity: LOW; Availability: NONE
- Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)
Technical Details
The vulnerability is a reflected cross-site scripting (XSS) condition caused by insufficient input sanitization and output escaping of the check_in_date and check_out_date parameters. An attacker can craft a link containing malicious script content in those parameters; if a user opens the link, the injected script can execute in the context of the affected site.
The public report and repository traces reference plugin code paths and templates in the 2.3.1 tag, including files such as includes/class-wphb-helpers.php, includes/wphb-functions.php, Elementor widget listings (for example includes/elementor/widgets/archive-room/list-results-room.php), and template search loop files (for example templates/search/loop.php and templates/search/v2/loop-v2.php). These locations are cited in the advisory context; the underlying issue is the lack of proper input handling and escaping for user-supplied date parameters.
Impact is limited to the confidentiality and integrity of data accessible to a user viewing the injected content (for example, disclosure of visible page data or script-driven manipulation of the page). There is no indication in the provided data of an availability impact.
How This Could Impact Your Website
Consider a small hotel site using WP Hotel Booking where the site owner manages listings, internal staff update availability, and an external contractor or contributor assists with content. An attacker could send a crafted link to an editor or contractor. If that user clicks the link while authenticated to the site, the injected script could run in their browser. Potential practical consequences include disclosure of information visible to that user (such as internal staff email addresses displayed on admin or dashboard pages) or manipulation of page content that could be used in targeted phishing or social engineering.
The overall risk aligns with the CVSS impacts: low confidentiality and integrity impact per successful reflected XSS, and no direct availability impact. If youre unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review your setup.
Recommended Actions
- Update the affected plugin as soon as a patched version is available.
- Review and reduce unnecessary user roles, especially contributor-level accounts and external contractors.
- Enforce strong passwords and enable two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins from your site.
- Monitor site activity and access logs for unusual behavior, including unexpected URL parameters or referrer patterns.
If youd like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.
References
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.1/includes/class-wphb-helpers.php#L29
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.1/includes/elementor/widgets/archive-room/list-results-room.php#L214
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.1/includes/wphb-functions.php#L748
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.1/templates/search/loop.php#L92
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.1/templates/search/v2/loop-v2.php#L40
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.2/includes/elementor/widgets/archive-room/list-results-room.php#L215
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.2/templates/search/loop.php#L92
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.2/templates/search/v2/loop-v2.php#L39
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8b56ca04-c6eb-401f-aa8a-b933c0527e51?source=cve