CVE-2026-132623
WP Hotel Booking <= 2.3.6 - Unauthenticated Stored Cross-Site Scripting via Guest Checkout Cart Cookie
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)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| WP Hotel Booking |
affected up to and including 2.3.6
Other versions: unaffected
|
Is my server affected?
This CVE is in WP Hotel Booking of thimpress, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7344d4b1-7bc5-46a7-8a5f-0ad8538d43f3?source=cve wordfence.com
- 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 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/products/class-wphb-product-room.php#L117 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/class-wphb-sessions.php#L134 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/cart/class-wphb-cart.php#L820 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-hotel-booking/tags/2.3.5/includes/booking/class-wphb-booking.php#L383 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3839018%40wp-hotel-booking&new=3839018%40wp-hotel-booking plugins.trac.wordpress.org
Source: the record CVE-2026-132623 of the CVE List (CVE Program), CVE Terms of Use; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse