{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-9848: WP Ticket <= 6.0.4 - Unauthenticated SQL Injection via WordPress Search 's' Parameter","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-9848","status":"final","version":"1","initial_release_date":"2026-06-13T02:29:03.120Z","current_release_date":"2026-06-13T02:29:03.120Z","revision_history":[{"date":"2026-06-13T02:29:03.120Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-9848 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-9848"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-9848"},{"category":"external","summary":"wordfence.com","url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/98f16e3a-4ef3-43f9-86b2-2cf8e26f9c80?source=cve"},{"category":"external","summary":"plugins.trac.wordpress.org","url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php#L174"},{"category":"external","summary":"plugins.trac.wordpress.org","url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php#L164"},{"category":"external","summary":"plugins.trac.wordpress.org","url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/query-filters.php#L57"},{"category":"external","summary":"plugins.trac.wordpress.org","url":"https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/filter-functions.php#L22"},{"category":"external","summary":"plugins.trac.wordpress.org","url":"https://plugins.trac.wordpress.org/changeset/3565099/wp-ticket/trunk/includes/common-functions.php"},{"category":"external","summary":"plugins.trac.wordpress.org","url":"https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-ticket/tags/6.0.4&new_path=%2Fwp-ticket/tags/6.0.5"}]},"product_tree":{"branches":[{"category":"vendor","name":"emarket-design","branches":[{"category":"product_name","name":"Customer Support Ticket System & Helpdesk","branches":[{"category":"product_version_range","name":"<=6.0.4","product":{"name":"emarket-design Customer Support Ticket System & Helpdesk <=6.0.4","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:emarket-design:customer_support_ticket_system_\\&_helpdesk:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-9848","title":"WP Ticket <= 6.0.4 - Unauthenticated SQL Injection via WordPress Search 's' Parameter","notes":[{"category":"description","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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}