{"id":"CVE-2026-9848","published":"2026-06-13T02:29:03Z","modified":"2026-06-15T19:26:11Z","title":"WP Ticket <= 6.0.4 - Unauthenticated SQL Injection via WordPress Search 's' Parameter","vendor":"emarket-design","product":"Customer Support Ticket System & Helpdesk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02057,"percentile":0.81764,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/98f16e3a-4ef3-43f9-86b2-2cf8e26f9c80?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php#L174","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php#L164","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/query-filters.php#L57","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/filter-functions.php#L22","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3565099/wp-ticket/trunk/includes/common-functions.php","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-ticket/tags/6.0.4&new_path=%2Fwp-ticket/tags/6.0.5","tags":[]}],"priority":{"score":26.6,"factors":[{"name":"EPSS percentile","points":16.35},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-03","earliestUrl":"https://github.com/aj2108/CVE-2026-9848","repos":[{"name":"aj2108/CVE-2026-9848","url":"https://github.com/aj2108/CVE-2026-9848","stars":0,"created":"2026-08-03"}]},"nuclei":[{"id":"CVE-2026-9848","name":"WP Ticket <= 6.0.4 - SQL Injection","severity":"high","path":"http/cves/2026/CVE-2026-9848.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-9848.yaml"}],"first":{"date":"2026-08-03","source":"PoC-in-GitHub","url":"https://github.com/aj2108/CVE-2026-9848"},"provenance":"source"},"vendorSlug":"emarket-design","affectedVersions":[{"vendor":"emarket-design","product":"Customer Support Ticket System & Helpdesk","versions":["<= 6.0.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-15T16:52:00.110434Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36636","exploited":false,"provenance":"source"}}