CVE-2026-9848
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2<=6.0.4+ 1 more
- (no CPE)range: <=6.0.4
- (no CPE)range: <=6.0.4
Patches
Vulnerability mechanics
References
7- plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.phpnvd
- plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.phpnvd
- plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/filter-functions.phpnvd
- plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/query-filters.phpnvd
- plugins.trac.wordpress.org/changeset/3565099/wp-ticket/trunk/includes/common-functions.phpnvd
- plugins.trac.wordpress.org/changesetnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/98f16e3a-4ef3-43f9-86b2-2cf8e26f9c80nvd
News mentions
3- ⚡ Weekly Recap: Browser Bugs, EDR Killers, TV Botnet, OpenBSD Flaw, Android Trojan, and MoreThe Hacker News · Jun 22, 2026
- Wordfence Intelligence Weekly WordPress Vulnerability Report (June 8, 2026 to June 14, 2026)Wordfence Blog · Jun 18, 2026
- WordPress Plugin Ecosystem: 25 CVEs Disclosed in Two-Day Wave, Three CriticalVypr Intelligence · Jun 13, 2026