# WP Booking System – Booking Calendar <= 2.1.0.9 - Reflected Cross-Site Scripting via Request URI

- **ID:** WPSEC-2026-4097
- **Plugin:** WP Booking System – Booking Calendar (`wp-booking-system`), https://wordpress.org/plugins/wp-booking-system/
- **Affected versions:** from 2.1 before 2.1.0.10
- **Fixed in:** 2.1.0.10 (Update to 2.1.0.10 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-booking-system
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4097/

## Description

The WP Booking System – Booking Calendar plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the request URI on the Edit Calendar, Calendar Legend and Add/Edit Legend Item admin pages in all versions up to, and including, 2.1.0.9. This is due to URLs built with add_query_arg() and remove_query_arg() from the current request URI being output into link href and form action attributes without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a logged-in administrator into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4097/
- https://plugins.svn.wordpress.org/wp-booking-system/tags/2.1.0.10/
- https://wordpress.org/plugins/wp-booking-system/

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

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.
