Description
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.
Published: 2026-06-13
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The WP Ticket plugin for WordPress contains an unauthenticated SQL injection vulnerability in versions up to 6.0.4. An attacker can craft a malicious value for the search query parameter ‘s’, which the plugin concatenates directly into a SQL LIKE clause without using prepared statements or proper escaping. This flaw is a classic example of CWE‑89 and enables the attacker to inject arbitrary SQL code, potentially extracting sensitive data from the database such as user credentials, ticket information, or other tables tied to the WordPress installation.

Affected Systems

The affected product is the emarket‑design Customer Support Ticket System & Helpdesk plugin. Only versions up to 6.0.4 are impacted; all newer releases are not affected.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity, and while the EPSS score is not available, the lack of authentication required for exploitation and the publicly accessible front‑end search route mean the vulnerability is readily exploitable by any visitor with network access to the WordPress site. The absence from the CISA KEV list does not reduce the risk; the vulnerability can be leveraged to read arbitrary data from the database. The attack vector is straightforward: issue an HTTP GET or POST request to the WordPress search endpoint with a specially crafted ‘s’ parameter containing SQL injection payloads. If successful, the attacker can retrieve database contents by examining the search results or error messages.

Generated by OpenCVE AI on June 13, 2026 at 03:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the WP Ticket plugin to version 6.0.5 or later to remove the unsanitized input handling.
  • If an immediate upgrade is not feasible, disable unauthenticated search queries for the plugin, for example by removing or restricting the ‘s’ parameter in the URL or by employing a temporary input sanitization filter that escapes or blocks SQL meta‑characters.
  • Continuously monitor WordPress and database logs for anomalous queries or error messages that may indicate exploitation attempts.

Generated by OpenCVE AI on June 13, 2026 at 03:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 13 Jun 2026 02:45:00 +0000

Type Values Removed Values Added
Description 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 WP Ticket <= 6.0.4 - Unauthenticated SQL Injection via WordPress Search 's' Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-06-13T02:29:03.120Z

Reserved: 2026-05-28T14:16:28.104Z

Link: CVE-2026-9848

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-13T03:16:22.017

Modified: 2026-06-13T03:16:22.017

Link: CVE-2026-9848

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-13T03:30:18Z

Weaknesses
  • CWE-89

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