← All CVEs

CVE-2026-39531 9.3 CRITICAL

Unauthenticated SQL injection in the WP Directory Kit plugin allows attackers to inject arbitrary SQL through a request parameter that reaches the database layer without proper sanitization or prepared statements.

ProductWP Directory Kit
Affected Versions≤ 1.5.0
Fixed Version1.5.1
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CWECWE-89 (Improper Neutralization of Special Elements used in an SQL Command (SQL Injection))
Published2026-04-13
Active installs3,000+

Description

The WP Directory Kit plugin for WordPress is vulnerable to SQL Injection in all versions up to and including 1.5.0. A user-controlled 'filter_ids' parameter is interpolated into an IN clause through esc_sql() alone, which escapes quotes but does not restrict the value to numeric content. The same pattern appears in three methods of the Wdk_frontendajax controller, all reachable through the unauthenticated frontend dispatcher, so any remote attacker can break out of the IN clause and read data from arbitrary tables in the WordPress database, including rows outside the plugin's own scope.

Impact

An unauthenticated attacker can exfiltrate sensitive data from the WordPress database, including users, password hashes, session tokens and any custom tables created by other plugins. In combination with slow extraction techniques, the bug is directly exploitable in automated mass-exploitation campaigns targeting vulnerable sites.

Timeline

2026-02-17
Vulnerability discovered
2026-02-17
Reported to Patchstack
2026-04-13
CVE published
2026-04-13
Vendor patched in version 1.5.1