# WP Hotel Booking <= 2.3.6 - Authenticated (Booking Editor+) Stored Cross-Site Scripting via Room Video Preview and Additional Information Fields

- **ID:** WPSEC-2026-4382
- **Plugin:** WP Hotel Booking (`wp-hotel-booking`), https://wordpress.org/plugins/wp-hotel-booking/
- **Affected versions:** from 2.0.0 before 2.3.7
- **Fixed in:** 2.3.7 (Update to 2.3.7 or later.)
- **Severity:** Medium 5.5 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-hotel-booking
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4382/

## Description

The WP Hotel Booking plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the room 'Source Video' preview field and the 'Additional Information' room field in all versions up to, and including, 2.3.6. This is due to the room meta box saving these values straight from the request with no sanitization, and the single-room page printing them without escaping: the gallery template prints the preview value as HTML, and the front-end script inserts it into the preview modal as HTML or as an iframe source. This makes it possible for authenticated attackers who can edit rooms (the plugin's Booking Editor and Hotel Manager roles, which lack the unfiltered_html capability) to inject arbitrary web scripts in room pages that execute whenever a user accesses an injected page or opens the room preview.

## References

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

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

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.
