CVE-2026-135273
Unauthenticated SQL injection in WP Directory Kit through 1.6.3
- CVSS 3.1
- 7.5 high
- EPSS
- —
- Published
- ·
- Modified
The WP Directory Kit plugin for WordPress has a SQL injection flaw in the unauthenticated wdk_public_action AJAX handler. An attacker can send a crafted post_id to the map_infowindow action; the value is concatenated raw into the Similar Listings widget query. That lets them append SQL and extract sensitive data from the database. Sites running the plugin through version 1.6.3 are affected.
What to do: No fixed version is stated. Apply the vendor's update for CVE-2026-135273 when it is available.
| Product | Affected |
|---|---|
| WP Directory Kit plugin for WordPress | up to and including 1.6.3 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
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.
- Ecosystems
- WordPress
- Weakness
- CWE-89
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
In the news
0 storiesNo ingested article mentions this CVE yet.