TrueBooker <= 1.2.2 - Unauthenticated SQL Injection
cve-program · CVE-2026-13161
PublishedThe TrueBooker – Appointment Booking and Scheduler System plugin for WordPress is vulnerable to generic SQL Injection via the 'alldata[truebooker_user]' parameter in all versions up to, and including, 1.2.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The check_ajax_referer() nonce guard does not constitute an authentication or authorization barrier because the nonce is exposed to unauthenticated visitors on TrueBooker front-end booking pages; exploitation additionally requires that the required booking fields (category, service, person, date, and time slot) be present in the alldata POST parameter so that execution reaches the vulnerable SQL query branch.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-13161 · CVE overview and exploitation status
cve-program · CVE-2026-13161
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9b0e973b-f0bf-44d1-b964-e259f68291aa?source=cve
- https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.0/main/function_ajax.php#L14866
- https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.2/main/function_ajax.php#L14866
- https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.2/main/function_ajax.php#L14741
- https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.2/main/function_ajax.php#L14756
- https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.0/main/function_ajax.php#L14741
- https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.0/main/function_ajax.php#L14756
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3591506%40truebooker-appointment-booking%2Ftrunk%2Fmain%2Ffunction_ajax.php&old=3581699%40truebooker-appointment-booking%2Ftrunk%2Fmain%2Ffunction_ajax.php&sfp_email=&sfph_mail=
Related changes
Linked by CVE identifierNo related changes are available here.