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

Summary

CVECVE-2026-9848
StatePUBLISHED
AssignerWordfence
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-13 03:16:22 UTC
Updated2026-06-13 03:16:22 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types: CWE-89 | CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
3.1CNADECLARED7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Emarket-design Customer Support Ticket System Helpdesk affected 6.0.4 semver Not specified

References

ReferenceSourceLinkTags
plugins.trac.wordpress.org/changeset [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/common-functions.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/filter-functions.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/browser/wp-ticket/tags/6.0.4/includes/query-filters.php [email protected] plugins.trac.wordpress.org
plugins.trac.wordpress.org/changeset/3565099/wp-ticket/trunk/includes/common-functions.php [email protected] plugins.trac.wordpress.org
www.wordfence.com/threat-intel/vulnerabilities/id/98f16e3a-4ef3-43f9-86b2-2cf8e... [email protected] www.wordfence.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: she11f (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-05-28T14:31:42.000ZVendor Notified
CNA2026-06-12T14:23:52.000ZDisclosed
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report