CVE-2026-9848

Published: Giu 13, 2026 Last Modified: Giu 13, 2026
ExploitDB:
Other exploit source:
Google Dorks:
HIGH 7,5
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: high
Integrity: none
Availability: none

Description

AI Translation Available

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.

89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Stable
Common Consequences
Security Scopes Affected:
Confidentiality Integrity Availability Authentication Access Control
Potential Impacts:
Execute Unauthorized Code Or Commands Read Application Data Gain Privileges Or Assume Identity Bypass Protection Mechanism Modify Application Data
Applicable Platforms
Languages: Not Language-Specific, SQL
Technologies: Database Server
View CWE Details
https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common…
https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common…
https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/filter…
https://plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/query-…
https://plugins.trac.wordpress.org/changeset/3565099/wp-ticket/trunk/includes/c…
https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-ticket/tags/6.0.4&n…
https://www.wordfence.com/threat-intel/vulnerabilities/id/98f16e3a-4ef3-43f9-86…