2026-07-28 8:34CVE-2026-13161Wordfence
PUBLISHED5.2CWE-89

TrueBooker <= 1.2.2 - Unauthenticated SQL Injection

The 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.

Problem type

Affected products

themetechmount

TrueBooker – Appointment Booking and Scheduler System

<= 1.2.2 - AFFECTED

References

GitHub Security Advisories

GHSA-xm72-j57q-p3m6

The TrueBooker – Appointment Booking and Scheduler System plugin for WordPress is vulnerable to...

https://github.com/advisories/GHSA-xm72-j57q-p3m6

The 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.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-13161
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-13161",
    "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
    "assignerShortName": "Wordfence",
    "dateUpdated": "2026-07-28T08:34:36.428Z",
    "dateReserved": "2026-06-24T12:17:38.257Z",
    "datePublished": "2026-07-28T08:34:36.428Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "shortName": "Wordfence",
        "dateUpdated": "2026-07-28T08:34:36.428Z"
      },
      "title": "TrueBooker <= 1.2.2 - Unauthenticated SQL Injection",
      "descriptions": [
        {
          "lang": "en",
          "value": "The 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."
        }
      ],
      "affected": [
        {
          "vendor": "themetechmount",
          "product": "TrueBooker – Appointment Booking and Scheduler System",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "1.2.2"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
              "cweId": "CWE-89",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/9b0e973b-f0bf-44d1-b964-e259f68291aa?source=cve"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.0/main/function_ajax.php#L14866"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.2/main/function_ajax.php#L14866"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.2/main/function_ajax.php#L14741"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.2/main/function_ajax.php#L14756"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.0/main/function_ajax.php#L14741"
        },
        {
          "url": "https://plugins.trac.wordpress.org/browser/truebooker-appointment-booking/tags/1.2.0/main/function_ajax.php#L14756"
        },
        {
          "url": "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="
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "baseScore": 7.5,
            "baseSeverity": "HIGH"
          }
        }
      ],
      "timeline": [
        {
          "time": "2026-07-02T05:24:19.000Z",
          "lang": "en",
          "value": "Vendor Notified"
        },
        {
          "time": "2026-07-27T20:17:19.000Z",
          "lang": "en",
          "value": "Disclosed"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Karan J",
          "type": "finder"
        }
      ]
    }
  }
}