WP Ticket <= 6.0.4 - Unauthenticated SQL Injection via WordPress Search 's' Parameter

7.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2026-9848
CVSS 7.5 (High)
Publicly Published June 12, 2026
Last Updated June 13, 2026
Researcher she11f

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Customer Support Ticket System & Helpdesk

Software Type Plugin
Software Slug wp-ticket (view on wordpress.org)
Patched? Yes
Remediation Update to version 6.0.5, or a newer patched version
Affected Version
  • <= 6.0.4
Patched Version
  • 6.0.5

Recent vulnerabilities in Customer Support Ticket System & Helpdesk

# Title CVE ID CVSS Researchers Date
1 WP Ticket Customer Service Software & Support Ticket System <= 6.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-60157 6.4 Muhammad Yudha - DJ September 26, 2025
2 Multiple Plugins by eMarket Design <= Various Versions - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-58915 6.4 Muhammad Yudha - DJ September 23, 2025
3 WP Ticket Customer Service Software & Support Ticket System <= 6.0.2 - Unauthenticated PHP Object Injection CVE-2025-53584 8.1 Martino Spagnuolo August 25, 2025
4 Multiple Plugins by emarket-design <= Multiple Versions - Unauthenticated Limited Remote Code Execution CVE-2025-8420 8.1 mikemyers, theviper17y August 5, 2025
5 Customer Service Software & Support Ticket System <= 5.12.0 - Authenticated (Administrator+) Stored Cross-Site Scripting 4.4 June 22, 2023
6 Customer Service Software & Support Ticket System < 5.10.4 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2021-24622 5.5 Tri Wanda Septian September 20, 2021
7 Zebra_Form PHP library <= 2.9.8 - Reflected Cross-Site Scripting 6.1 WPScanTeam February 14, 2021

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation