CVE-2026-135273
HIGH 7.5CVSS 3.1WP Directory Kit <= 1.6.3 - Unauthenticated SQL Injection via 'post_id' Parameter
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security@wordfence.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@wordfence.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CVE List | Wordfence | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | wpdirectorykit | WP Directory Kit | <= 1.6.3 |
References
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/application/controllers/Wdk_frontendajax.php#L55
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/application/helpers/Listing.php#L626
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/elementor-elements/classes/wdk-listing-similar-listings.php#L207
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/includes/class-wpdirectorykit.php#L262
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/public/class-wpdirectorykit-public.php#L307
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/database.php#L502
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/helpers.php#L775
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b7792254-ab5d-4433-a627-8ea3866120d1?source=cve
History
- 2 Dec 2026 20:26 UTC · NVD: updated (other details)
- 2 Dec 2026 19:36 UTC · CVE List: updated (other details)
- 2 Dec 2026 13:48 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 11:48 UTC · CVE List: first stored (published 2 Dec 2026)