{
 "id": "WPSEC-2026-3204",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3204/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3204/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3204/index.md",
 "title": "WP Hotelier <= 2.20.0 - Unauthenticated Insecure Direct Object Reference via Predictable Reservation Key",
 "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.",
 "plugin": {
  "slug": "wp-hotelier",
  "name": "WP Hotelier",
  "full_name": "WP Hotelier",
  "wordpress_org": "https://wordpress.org/plugins/wp-hotelier/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-hotelier/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-hotelier"
 },
 "type": "IDOR",
 "cwe": [
  "CWE-330"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.8,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.20.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.20.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.20.1",
 "remediation": "Update to 2.20.1 or later.",
 "fix_released": "2026-11-15T18:00:12+00:00",
 "published": "2026-11-16T23:44:33+00:00",
 "updated": "2026-11-16T23:27:04.474889+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-hotelier",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-16"
 }
}