# WP Hotel Booking <= 2.3.5 - Unauthenticated Cart, Coupon and Session Data Tampering via Unsigned Session Cookie

- **ID:** WPSEC-2026-3749
- **Plugin:** WP Hotel Booking (`wp-hotel-booking`), https://wordpress.org/plugins/wp-hotel-booking/
- **Affected versions:** all versions before 2.3.6
- **Fixed in:** 2.3.6 (Update to 2.3.6 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-345
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-hotel-booking
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3749/

## Description

The WP Hotel Booking plugin for WordPress is vulnerable to insufficient verification of data authenticity via the cart, customer and booking session cookies in all versions up to, and including, 2.3.5. This is due to the session loader still accepting a legacy unsigned JSON cookie, which it stores as trusted session data and re-signs, and to the cart copying every supplied key onto cart items and accepting any existing post as a product. This makes it possible for unauthenticated attackers to forge cart, coupon, customer and booking session contents, for example applying any active coupon by its ID without knowing its code (before 2.3.5 also expired or used-up coupons) or adding fields that change the room recorded on a booking, which can alter the bookings and prices the site processes.

## References

- https://wpsec.com/vuln/WPSEC-2026-3749/
- https://plugins.svn.wordpress.org/wp-hotel-booking/tags/2.3.6/
- https://wordpress.org/plugins/wp-hotel-booking/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3749/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
