{"id":"CVE-2026-9848","aliases":["CVE-2026-9848"],"related":[],"kind":"vulnerability","state":"published","title":"WP Ticket <= 6.0.4 - Unauthenticated SQL Injection via WordPress Search 's' Parameter","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"El plugin WP Ticket para WordPress es vulnerable a inyección SQL a través del parámetro de consulta de búsqueda de WordPress ('s') en versiones hasta la 6.0.4, inclusive. El plugin engancha el filtro 'posts_request' de WordPress con wp_ticket_com_posts_request(), que llama a emd_author_search_results() cuando la solicitud actual es una búsqueda de front-end no autenticada. Esa función lee $query->query_vars['s'] - ya 'wp_unslash()'d por WP_Query::parse_query(), por lo que la protección 'wp_magic_quotes' ha sido eliminada - y concatena el valor sin procesar en una cláusula SQL 'LIKE' dentro de un sub-SELECT UNION adjunto a la consulta principal, sin $wpdb->prepare() ni escape. Esto hace posible que atacantes no autenticados añadan consultas SQL adicionales a consultas ya existentes que pueden ser utilizadas para extraer información sensible de la base de datos.","source":"nvd"}],"published":"2026-06-13T02:29:03.120Z","modified":"2026-07-21T19:10:00.107Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"6.0.4","status":"affected"}],"vendor":"emarket-design","product":"Customer Support Ticket System & Helpdesk","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/98f16e3a-4ef3-43f9-86b2-2cf8e26f9c80?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php#L174","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php#L164","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/query-filters.php#L57","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/filter-functions.php#L22","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3565099/wp-ticket/trunk/includes/common-functions.php","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-ticket/tags/6.0.4&new_path=%2Fwp-ticket/tags/6.0.5","tags":[],"sources":["cvelist","nvd"]}],"credits":["she11f"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-15T16:52:00.110Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9848","url":"https://www.cve.org/CVERecord?id=CVE-2026-9848","licence":"CVE Terms of Use","modified":"2026-06-15T19:26:11.086Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9848","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9848","licence":"Public domain","modified":"2026-07-21T19:10:00.107Z"}],"updatedAt":"2026-11-25T22:59:24.610Z","epss":{"score":0.02161,"percentile":0.82753,"date":"2026-12-02T12:00:21.000Z"}}