Description
The WP Hotel Booking plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'thimpress_hotel_booking_1 (JSON cart cookie; attacker payload lives in the child item's `id` field)' parameter in all versions up to, and including, 2.3.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit is possible because the legacy unsigned cookie branch requires no signature verification, the guest-checkout nonce is publicly available on the checkout page, and guest checkout is enabled by default — meaning any unauthenticated visitor can submit a crafted cart cookie through the standard AJAX checkout flow.
Severity (CVSS)
| Base score | 7.2 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| thimpress | WP Hotel Booking | 0 to <=2.3.6 [affected] |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7344d4b1-7bc5-46a7-8a5f-0ad8538d43f3?source=cve
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/plugins/wp-hotel-booking-extra/inc/class-wphb-extra-cart.php#L489
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/products/class-wphb-product-room.php#L117
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/class-wphb-sessions.php#L134
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/cart/class-wphb-cart.php#L820
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/booking/class-wphb-booking.php#L383
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3839018%40wp-hotel-booking&new=3839018%40wp-hotel-booking
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 03 Dec 2026 08:05 UTC.