WordPress security changelog
HIGH CVE-2026-18474 Deferred

WP Directory Kit public tree search permits SQL injection

WP Directory Kit before 1.5.6 passes public search_location or search_category values to wdk_treefield_select_ajax() when a non-default category or location search-field type is configured. Version 1.5.5 collects the selected values and interpolates their comma-joined IDs into SQL IN(...) and FIELD(...) clauses without integer conversion. An unauthenticated attacker can inject SQL and extract database information. Version 1.5.6 casts every selected item to an integer before building the query.

CVE / CNA score 8.6 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score Pending NVD has not published its own CVSS assessment.
Component
WP Directory Kit
Plugin slug
wpdirectorykit
Affected
< 1.5.6
Safe version
1.5.6
Published
Aug 12, 2026
Weakness
CWE-89 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

This CVE was published Aug 12, 2026 and is one of 31 known issues for this plugin.

Update, patch or deactivate.

Update to 1.5.6 or later. Review public tree-search requests and database logs for injection probes, and rotate secrets if database information may have been extracted.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical description

The WP Directory Kit WordPress plugin before 1.5.6 does not sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by unauthenticated users when a non-default search field type is configured.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Primary and upstream sources