WP Hotel Booking Plugin Vulnerability (CVE-2026-135268)

On this page

Security Alert Summary

The WP Hotel Booking plugin for WordPress (versions up to and including 2.3.6) contains a stored Cross-Site Scripting (XSS) vulnerability in certain label parameters. Authenticated users with contributor-level access or higher can save payloads that bypass Elementor’s kses_post_deep sanitization and execute scripts when an injected page is viewed.


CVE Details

  • CVE ID: CVE-2026-135268
  • Affected component: WP Hotel Booking plugin for WordPress
  • Affected versions: All versions up to and including 2.3.6
  • Published: December 3, 2026 at 7:17 AM UTC
  • Last modified: December 3, 2026 at 7:17 AM UTC
  • CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N — Base Score: 6.4, Severity: MEDIUM
  • Authentication / privileges: Requires an authenticated user with low privileges (contributor-level access or above)
  • User interaction: None required for exploit to execute once a victim views the injected page
  • Primary impact: Confidentiality: LOW; Integrity: LOW; Availability: NONE
  • CWE / weakness: CWE-79 (Cross-site Scripting)

Technical Details

The vulnerability is a stored Cross-Site Scripting issue caused by insufficient input sanitization and output escaping of specific label parameters. The affected parameters named in reports include label_field_date, label_field_check_out, and label_field. Malicious input saved to these parameters can include an attribute-breakout payload that contains no HTML tags at save time, allowing Elementor’s kses_post_deep sanitization to be bypassed. When the stored value is later rendered into a double-quoted placeholder attribute in the page output, the browser can parse the stored value as injected attributes and execute arbitrary web scripts.

The flaw exists because the sanitization step does not neutralize payloads that rely on attribute-level breakout rather than tag-based injection, and the plugin does not perform sufficient escaping when outputting these values into attributes. The practical result is that any script injected via these fields will run in the context of users who load the affected page.


How This Could Impact Your Website

In a realistic scenario, a site owner maintains a booking site using WP Hotel Booking. An external contractor or a contributor-level staff member updates booking labels using the widget controls and, intentionally or accidentally, saves an attribute-breakout payload in one of the labeled fields. When internal staff or site visitors, including administrators or editors, view the page containing the injected widget, the stored script executes in their browsers.

Practical consequences can include exposure of session information or user-visible data and actions performed in the context of the viewing user’s privileges, consistent with the CVSS impact ratings of low confidentiality and integrity impact. This can increase the risk of targeted phishing or social engineering against internal staff whose email addresses or roles are accessible on the site.

If you’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review your setup.


Recommended Actions

  • Update the affected plugin as soon as a patched version is available.
  • Review and reduce unnecessary user roles, especially contributor-level access for untrusted users.
  • Enforce strong passwords and two-factor authentication for editors and administrators.
  • Remove unused or unmaintained plugins and widgets.
  • Monitor site activity and logs for unusual behavior, including unexpected changes to widget content or label fields.

If you’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.


References