# CVE-2026-9848: WP Ticket <= 6.0.4 - Unauthenticated SQL Injection via WordPress Search 's' Parameter

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.16%, higher than 82% of CVEs (2026-12-02)
- Published: 2026-06-13T02:29:03.120Z
- Modified: 2026-07-21T19:10:00.107Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## Description

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.

(As written by CVE List.)

## Affected

- emarket-design Customer Support Ticket System & Helpdesk: up to 6.0.4

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/98f16e3a-4ef3-43f9-86b2-2cf8e26f9c80?source=cve>
- <https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php#L174>
- <https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php#L164>
- <https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/query-filters.php#L57>
- <https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/filter-functions.php#L22>
- <https://plugins.trac.wordpress.org/changeset/3565099/wp-ticket/trunk/includes/common-functions.php>
- <https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-ticket/tags/6.0.4&new_path=%2Fwp-ticket/tags/6.0.5>

## Sources

- CVE List: [CVE-2026-9848](https://www.cve.org/CVERecord?id=CVE-2026-9848), CVE Terms of Use, modified 2026-06-15
- NVD: [CVE-2026-9848](https://nvd.nist.gov/vuln/detail/CVE-2026-9848), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-9848 · Whole record: https://cve.day/CVE-2026-9848.json · Rebuilt by cve.day 2026-11-25T22:59:24.610Z
