CVE-2026-135273
Deferred
Deferred - Pending Action
SQL Injection in WP Directory Kit WordPress Plugin
Vulnerability report for CVE-2026-135273, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-12-02
Last updated on: 2026-12-02
Assigner: Wordfence
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wpdirectorykit | WP Directory Kit | From 0 (inc) to 1.6.3 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |