# Pinpoint Booking System <= 2.9.9.7.4 - Authenticated (Administrator+) SQL Injection via Calendar Default Availability

- **ID:** WPSEC-2026-4495
- **Plugin:** Pinpoint Booking System – Legacy version (`booking-system`), https://wordpress.org/plugins/booking-system/
- **Affected versions:** from 2.5.8 before 2.9.9.7.5
- **Fixed in:** 2.9.9.7.5 (Update to 2.9.9.7.5 or later.)
- **Severity:** Medium 4.9 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-89
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/booking-system
- **Fix released:** 2026-12-01
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4495/

## Description

The Pinpoint Booking System plugin for WordPress is vulnerable to second-order SQL Injection via the calendar default availability data in all versions from 2.5.8 up to, and including, 2.9.9.7.4, due to the JSON-encoded default availability being concatenated into the INSERT query on the days table, without escaping or preparation, when a reservation is created for a day that has no stored availability record yet. This makes it possible for authenticated attackers with administrator-level access, or a role the site has given the plugin's booking system permission, to store data that adds SQL to that query when a booking is made. This could be used to extract sensitive information from the database.

## References

- https://wpsec.com/vuln/WPSEC-2026-4495/
- https://plugins.svn.wordpress.org/booking-system/tags/2.9.9.7.5/
- https://wordpress.org/plugins/booking-system/

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

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.
