Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-96653 Overview
CVE-2026-96653 is a second-order time-based SQL injection vulnerability in the WP Directory Kit plugin for WordPress. The flaw affects all versions up to and including 1.5.9. It stems from insufficient escaping of user-supplied input and missing query preparation when the plugin re-reads a stored profile value.
Authenticated attackers with subscriber-level access can store a malicious display_name containing a single quote through their own profile. When WdkCachedUserEditor::update_listings_user_editor() later reads this value and passes it to the SQL sink, the injected payload executes against the database.
Critical Impact
Authenticated attackers with low-privilege (Subscriber) accounts can extract sensitive database contents, including password hashes and session tokens, through time-based SQL injection [CWE-89].
Affected Products
- WP Directory Kit plugin for WordPress — all versions up to and including 1.5.9
- WordPress sites running the vulnerable plugin with open user registration
- Sites where the WdkCachedUserEditor extension is active
Discovery Timeline
- 2026-10-10 - CVE-2026-96653 published to NVD
- 2026-10-11 - Last updated in NVD database
Technical Details for CVE-2026-96653
Vulnerability Analysis
The vulnerability is a classic second-order SQL injection, where the malicious payload is stored at one point and executed at another. A subscriber-level user updates their profile and sets display_name to a value containing a single quote and additional SQL syntax. WordPress preserves the value verbatim in the wp_users table.
The payload is triggered later when WdkCachedUserEditor::update_listings_user_editor() retrieves the stored display_name and concatenates it into a SQL query without applying wpdb::prepare() or equivalent escaping. The query is executed via the plugin's Winter_MVC/core/database.php database wrapper.
Because the injection is time-based, attackers rely on conditional SLEEP() statements to infer data byte-by-byte from server response delays. This supports extraction of password hashes, session tokens, and other sensitive table contents.
Root Cause
The root cause is improper neutralization of special elements used in a SQL command [CWE-89]. The plugin trusts the stored display_name as a safe internal value and omits parameterization when re-reading and reusing it in a dynamic query. See the vulnerable code paths in the WP Directory Kit source (line 21) and line 52, with the SQL sink in Winter MVC database.php.
Attack Vector
The attack requires an authenticated Subscriber account, which is often trivially obtained on sites with open registration. The attacker updates their profile to store a crafted display_name payload. Triggering the vulnerable code path then causes the stored payload to execute within a SQL query. Full technical write-up is available in the Wordfence Vulnerability Report.
Detection Methods for CVE-2026-96653
Indicators of Compromise
- User accounts with display_name values containing single quotes, SQL keywords such as SELECT, UNION, SLEEP, or BENCHMARK, or comment markers like -- and #.
- Unusual spikes in request duration for pages that render directory listings or user editor views.
- Database query logs showing malformed or unexpectedly long SELECT statements referencing display_name.
- Repeated profile update requests from newly registered Subscriber accounts followed by directory page visits.
Detection Strategies
- Audit the wp_users table for display_name values that do not match legitimate naming patterns.
- Enable MySQL slow query logging and alert on queries exceeding expected baseline durations.
- Monitor WordPress REST and admin-ajax endpoints for profile update sequences followed by directory page requests from the same session.
- Deploy WAF rules that inspect profile submission payloads for SQL metacharacters even on authenticated routes.
Monitoring Recommendations
- Log and review all Subscriber account registrations, especially bulk or automated signups.
- Correlate authentication events with subsequent profile updates and plugin-specific endpoint access.
- Track outbound data volumes from the database host to detect bulk extraction attempts.
How to Mitigate CVE-2026-96653
Immediate Actions Required
- Update the WP Directory Kit plugin to a version later than 1.5.9 as soon as the vendor releases a fix.
- Temporarily disable the WP Directory Kit plugin if a patched version is not yet available.
- Disable open user registration or restrict Subscriber-level signups on affected sites.
- Rotate WordPress secret keys, administrator passwords, and any API tokens stored in the database.
Patch Information
At the time of publication, consult the Wordfence Vulnerability Report for the current patched version and the WordPress plugin repository for upstream code changes. Apply the vendor update immediately once available and verify the plugin version in the WordPress admin dashboard.
Workarounds
- Deactivate the WP Directory Kit plugin until a fixed version is installed.
- Deploy a Web Application Firewall rule to block profile updates containing SQL metacharacters in display_name.
- Restrict access to directory listing pages that invoke WdkCachedUserEditor::update_listings_user_editor() to trusted roles only.
- Audit existing user records and sanitize any display_name values containing suspicious characters before the vulnerable code path is reached.
# Example: query to identify suspicious display_name values
wp db query "SELECT ID, user_login, display_name FROM wp_users \
WHERE display_name REGEXP '(\'|--|#|SLEEP|UNION|SELECT)'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

