WP Hotelier <= 2.20.0 - Unauthenticated Insecure Direct Object Reference via Predictable Reservation Key
- ID
- WPSEC-2026-3204
- Plugin
- WP Hotelier (wp-hotelier)
- Affected
- all versions before 2.20.1
- Remediation
- Update to 2.20.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weakness
- CWE-330
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-16
- Attack surface
- WP Hotelier on WPSec AttackSurface
- Fix released
- Published
Description
The WP Hotelier plugin for WordPress is vulnerable to Insecure Direct Object Reference via the reservation key in all versions up to, and including, 2.20.0, due to reservation keys being generated with uniqid(), which produces a predictable, timestamp-based value. Because this key is the only check guarding guest access to the reservation-received page, the pay-reservation page and the guest cancellation action, this makes it possible for unauthenticated attackers who know a reservation ID and its approximate creation time to guess the key, view other guests' reservation and personal details, and cancel other guests' reservations.
References
- https://wpsec.com/vuln/WPSEC-2026-3204/
- https://plugins.svn.wordpress.org/wp-hotelier/tags/2.20.1/
- https://wordpress.org/plugins/wp-hotelier/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS