You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
The WP Ticket plugin for WordPress is vulnerable to SQL...
High severity
Unreviewed
Published
Jun 13, 2026
to the GitHub Advisory Database
•
Updated Jun 13, 2026
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.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Learn more on MITRE.
CVE ID
CVE-2026-9848
GHSA ID
GHSA-cmwh-2j7f-4vh3
Source code
No known source code
Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.
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'sposts_requestfilter withwp_ticket_com_posts_request(), which callsemd_author_search_results()when the current request is an unauthenticated front-end search. That function reads$query->query_vars['s']— already wp_unslash()'d byWP_Query::parse_query(), so wp_magic_quotes protection has been stripped — and concatenates the raw value into a SQLLIKEclause 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.References