Description
The Bookly plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 27.7 via the appointment() method of the Mobile Staff Cabinet API (resource=appointment, action=bookly_mobile_staff_cabinet) in frontend/modules/mobile_staff_cabinet/api/handlers/Handler1_0.php. This is due to the handler loading an Appointment by the attacker-supplied params[id] without verifying that the appointment's staff_id matches the authenticated staff member, whereas sibling operations (deleteAppointment, saveAppointment, appointments list) correctly scope to $this->staff->getId() when $this->role === ROLE_STAFF. This makes it possible for authenticated attackers, with staff-level mobile cabinet access (any valid access_key token bound to a Staff entity), to read appointment details — including the internal note and the full customer_appointments collection (customer full_name, email, phone, notes, custom_fields, extras, payment_total, payment_type, payment_status) — belonging to other staff members by enumerating sequential appointment IDs.
References8
- plugins.trac.wordpress.org/browser/bookly-responsive-appointmen…
- plugins.trac.wordpress.org/browser/bookly-responsive-appointmen…
- plugins.trac.wordpress.org/browser/bookly-responsive-appointmen…
- plugins.trac.wordpress.org/browser/bookly-responsive-appointmen…
- plugins.trac.wordpress.org/browser/bookly-responsive-appointmen…
- plugins.trac.wordpress.org/browser/bookly-responsive-appointmen…
- plugins.trac.wordpress.org/changeset?reponame=&old=3637918%40bo…
- www.wordfence.com/threat-intel/vulnerabilities/id/1600466e-ad45…
Metrics
- CVSS 3.1
-
4.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 33 · as of 11 November 2026
- CWE
- CWE-639
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.