See how wp ticket compares to other vendors in security performance
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 postsrequest filter with wpticketcompostsrequest(), which calls emdauthorsearchresults() when the current request is an unauthenticated front-end search. That function reads $query->queryvars['s'] — already wpunslash()'d by WPQuery::parsequery(), so wpmagicquotes 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.