WP Directory Kit <= 1.6.3 - Unauthenticated SQL Injection via 'post_id' Parameter
Summary
| CVE | CVE-2026-135273 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 12:17:20 UTC |
| Updated | 2026-12-02 12:17:20 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Problem Types: CWE-89 | CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Wpdirectorykit | WP Directory Kit | affected 1.6.3 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/public/class-wpdirectorykit-publ... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/includes/class-wpdirectorykit.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/application/controllers/Wdk_fron... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/database.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/elementor-elements/classes/wdk-l... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/application/helpers/Listing.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/helpers.php | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/b7792254-ab5d-4433-a627-8ea38... | [email protected] | www.wordfence.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Max Vision (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-23T16:18:00.000Z | Vendor Notified |
| CNA | 2026-12-01T22:02:55.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.