# Appointment Hour Booking <= 1.6.06 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Form Field Name

- **ID:** WPSEC-2026-3287
- **Plugin:** Appointment Hour Booking – Booking Calendar (`appointment-hour-booking`), https://wordpress.org/plugins/appointment-hour-booking/
- **Affected versions:** all versions before 1.6.07
- **Fixed in:** 1.6.07 (Update to 1.6.07 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-17)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/appointment-hour-booking
- **Fix released:** 2026-11-16
- **Published:** 2026-11-17
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3287/

## Description

The Appointment Hour Booking plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the name of booking form fields in all versions up to, and including, 1.6.06 due to insufficient input sanitization and output escaping. The form builder saved field names without sanitization, and the public booking form inserted them into HTML attributes without escaping. This makes it possible for authenticated attackers with subscriber-level access or above who were granted access to a booking form by an administrator to inject arbitrary web scripts in pages that will execute whenever a user accesses a page containing the booking form.

## References

- https://wpsec.com/vuln/WPSEC-2026-3287/
- https://plugins.svn.wordpress.org/appointment-hour-booking/tags/1.6.07/
- https://wordpress.org/plugins/appointment-hour-booking/

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

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.
