SQL Injection in Emarket-Design Customer Support Ticket System & Helpdesk
CVE-2026-9848
The WP Ticket plugin for WordPress is vulnerable to SQL Injection via the WordPress search query parameter (`s`) in versions up to, and including, 6.0.4 The plugin hooks WordPress's `posts_request` filter with `wp_ticket_com_posts_request()`, which calls `emd_author_search_results()` when the current request is an unauthenticated front-end search. That function reads `$query->query_vars['s']` — already wp_unslash()'d by `WP_Query::parse_query()`, so wp_magic_quotes protection has been stripped — and concatenates the raw value into a SQL `LIKE` clause inside a UNION sub-SELECT appended to the main query, with no `$wpdb->prepare()` or escaping. 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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.021, 81.6th percentile (scored ); up from 0.006 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.021 · change: +0.015
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- aj2108/CVE-2026-9848 (last pushed 2026-08-03): CVE-2026-9848 is an Unauthenticated SQL Injection (SQLi) vulnerability affecting the WP Ticket (Customer Support Ticket System & Helpdesk) plugin for WordPress up to and including version 6.0.4.
References
- plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functio…
- plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functio…
- plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/filter-functio…
- plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/query-filters…
- plugins.trac.wordpress.org/changeset/3565099/wp-ticket/trunk/includes/common-fu…
- plugins.trac.wordpress.org/changeset
- www.wordfence.com/threat-intel/vulnerabilities/id/98f16e3a-4ef3-43f9-86b2-2cf8e…
This CVE has public exploit evidence. See the latest CVEs with public exploits.