WP Booking System <= 2.1.0.1 - Authenticated (Administrator+) SQL Injection via 'orderby' Parameter (murgroland WP Booking System β Booking Calendar)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.29 % Β· percentile 22 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Wordfence
- NVD status
- Deferred
Description
The WP Booking System β Booking Calendar plugin for WordPress is vulnerable to generic SQL Injection via the 'data[orderby]' parameter in all versions up to, and including, 2.1.0.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Exploitation requires the targeted calendar to have more than 200 bookings, as the orderby value is only forwarded to the database layer when the AJAX handler takes the use_ajax branch; an Administrator can satisfy this condition by creating bookings directly.
Weaknesses (CWE)
- CWE-89 β Improper Neutralization of Special Elements used in an SQL Command
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/12923175-4db4-4afc-9e9b-b9f139f24a79?source=cve
- https://plugins.trac.wordpress.org/browser/wp-booking-system/tags/2.1.0.1/includes/abstracts/abstract-class-object-db.php#L83
- https://plugins.trac.wordpress.org/browser/wp-booking-system/tags/2.1.0.1/includes/base/booking/class-object-db-bookings.php#L165
- https://plugins.trac.wordpress.org/browser/wp-booking-system/tags/2.1.0.1/includes/base/admin/booking/class-bookings-outputter.php#L214
- https://plugins.trac.wordpress.org/browser/wp-booking-system/tags/2.1.0.1/includes/base/admin/booking/functions-actions-booking.php#L219
- https://plugins.trac.wordpress.org/changeset?old=3732620&old_path=%2Fwp-booking-system%2Ftrunk&new=&new_path=%2Fwp-booking-system%2Ftrunk
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3736389%40wp-booking-system%2Ftags%2F2.1.0.2&old=3732637%40wp-booking-system%2Ftags%2F2.1.0.1
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | Wordfence |
| CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | NVD Β· security@wordfence.com (Secondary) |
European references
- ENISA EUVD Β· EUVD-2026-102784
- GCVE Β· GCVE-0-2026-111178
Affected products
| Product | Versions |
|---|---|
| murgroland Β· WP Booking System β Booking Calendar | affected 0 β€ 2.1.0.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |