# Booking calendar, Appointment Booking System <= 3.2.36 - Unauthenticated Stored Cross-Site Scripting via SVG File Upload

- **ID:** WPSEC-2026-4543
- **Plugin:** Booking calendar, Appointment Booking System (`booking-calendar`), https://wordpress.org/plugins/booking-calendar/
- **Affected versions:** all versions before 3.3.0
- **Fixed in:** 3.3.0 (Update to 3.3.0 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/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/booking-calendar
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4543/

## Description

The Booking calendar, Appointment Booking System plugin for WordPress is vulnerable to Stored Cross-Site Scripting via file uploads in the public booking form in all versions up to, and including, 3.2.36. This is due to a loose extension whitelist that allowed SVG files, a bypassable regex-based SVG sanitizer, missing real file type checks, and the booking form saving every uploaded file whether or not the form has an upload field. This makes it possible for unauthenticated attackers to upload SVG files with arbitrary web scripts to the uploads/booking_calendar folder under a file name they choose. The scripts run when a user opens the file.

## References

- https://wpsec.com/vuln/WPSEC-2026-4543/
- https://plugins.svn.wordpress.org/booking-calendar/tags/3.3.0/
- https://wordpress.org/plugins/booking-calendar/

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

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.
