CVE-2026-9848

HIGH

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

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-9848. PoCs published by aj2108.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2026-9848, an unauthenticated SQL injection vulnerability in the WP Ticket WordPress plugin (≤6.0.4). The writeup explains the root cause (direct concatenation of user input into SQL queries), vulnerable code patterns, and patch diffs, with clear attack flow diagrams and conceptual examples.

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.

Exploits (1)

github WRITEUP
by aj2108 · poc
https://github.com/aj2108/CVE-2026-9848

This repository provides a detailed technical analysis of CVE-2026-9848, an unauthenticated SQL injection vulnerability in the WP Ticket WordPress plugin (≤6.0.4). The writeup explains the root cause (direct concatenation of user input into SQL queries), vulnerable code patterns, and patch diffs, with clear attack flow diagrams and conceptual examples.

Classification
Writeup 98%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: WP Ticket (Customer Support Ticket System & Helpdesk) plugin for WordPress ≤6.0.4
No auth needed
Prerequisites: Target must be running WP Ticket plugin version ≤6.0.4 · WordPress search functionality must be accessible to attacker
mistral-large-3 · analyzed Aug 03, 2026 Full analysis →

Scores

CVSS v3 7.5
EPSS 0.0051
EPSS Percentile 40.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-89
Status published
Products (1)
emarket-design/Customer Support Ticket System & Helpdesk < 6.0.4
Published Jun 13, 2026
Tracked Since Jun 13, 2026