CVE-2026-135273 — WP Directory Kit
HIGHCVE-2026-135273 is a high-severity (CVSS 7.5) SQL Injection vulnerability in wpdirectorykit WP Directory Kit. Versions up to 1.6.3 are affected; the records list no fixed version yet, so check the vendor advisory below.
The WP Directory Kit plugin for WordPress is vulnerable to SQL Injection via the 'post_id' parameter of the 'map_infowindow' action of the 'wdk_public_action' AJAX handler in versions…
Description
The WP Directory Kit plugin for WordPress is vulnerable to SQL Injection via the 'post_id' parameter of the 'map_infowindow' action of the 'wdk_public_action' AJAX handler in versions up to, and including, 1.6.3 This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query — $_POST['post_id'] is stripslashed, passed through a tag-stripping filter that performs no SQL escaping, promoted to the global $wdk_listing_id inside wdk_listing_card(), and then concatenated raw (no quotes, no cast, no $wpdb->prepare()) into the WHERE clause of the Similar Listings widget query that is executed via $wpdb->query(). 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.
Affected Products
WP Directory KitwpdirectorykitDetection & mitigation playbook
Vendor / applianceDetect
Inventory every wpdirectorykit WP Directory Kit deployment and check each version against the affected-products list above.
Remediation status
The records we use list no fixed version for CVE-2026-135273 (versions up to 1.6.3 are affected). Check the wpdirectorykit WP Directory Kit advisory for a patched release, and apply the workarounds below until you can upgrade.
Mitigate without a patch
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-135273 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.