CVE-2026-135273
WP Directory Kit <= 1.6.3 - Unauthenticated SQL Injection via 'post_id' Parameter
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
The assessment of CISA (SSVC, 2 Dec 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| WP Directory Kit |
affected up to and including 1.6.3
Other versions: unaffected
|
Is my server affected?
This CVE is in WP Directory Kit of wpdirectorykit, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b7792254-ab5d-4433-a627-8ea3866120d1?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/elementor-elements/classes/wdk-listing-similar-listings.php#L207 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/application/helpers/Listing.php#L626 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/helpers.php#L775 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/application/controllers/Wdk_frontendajax.php#L55 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/public/class-wpdirectorykit-public.php#L307 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/includes/class-wpdirectorykit.php#L262 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/database.php#L502 plugins.trac.wordpress.org
Source: the record CVE-2026-135273 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse