---
id: CVE-2026-111178
title: >-
  WP Booking System <= 2.1.0.1 - Authenticated (Administrator+) SQL Injection
  via 'orderby' Parameter
summary: >-
  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
  parame…
severity: medium
cvss: 4.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-89
vendor: murgroland
product: WP Booking System – Booking Calendar
affected:
  - wp_booking_system_booking_calendar <= 2.1.0.1
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T06:41:00.178Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111178'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/12923175-4db4-4afc-9e9b-b9f139f24a79?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-booking-system/tags/2.1.0.1/includes/abstracts/abstract-class-object-db.php#L83
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-booking-system/tags/2.1.0.1/includes/base/booking/class-object-db-bookings.php#L165
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-booking-system/tags/2.1.0.1/includes/base/admin/booking/class-bookings-outputter.php#L214
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-booking-system/tags/2.1.0.1/includes/base/admin/booking/functions-actions-booking.php#L219
  - url: >-
      https://plugins.trac.wordpress.org/changeset?old=3732620&old_path=%2Fwp-booking-system%2Ftrunk&new=&new_path=%2Fwp-booking-system%2Ftrunk
  - url: >-
      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
tags:
  - cve.org
ingestedAt: '2026-10-16T07:01:11.482Z'
---

## Overview

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.

## Affected

- `wp_booking_system_booking_calendar <= 2.1.0.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
