WP Directory Kit Unauthenticated SQL Injection via post_id Parameter
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
WP Directory Kit for WordPress, versions up to and including 1.6.3, contains an SQL injection flaw (CWE-89) in the post_id parameter of the map_infowindow action of the wdk_public_action AJAX handler. The parameter is concatenated into a SQL query without escaping or preparation, so unauthenticated remote attackers can append extra SQL queries and extract sensitive information from the database.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| wpdirectorykit | WP Directory Kit | up to 1.6.3 | — | No fix listed | CNA |
- WP Directory Kit Vendorwpdirectorykit Affected up to 1.6.3 Fixed in — No fix listed CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:wpdirectorykit:wp_directory_kit:*:*:*:*:*:*:*:* | — | — | wpdirectorykit |
- cpe:2.3:a:wpdirectorykit:wp_directory_kit:*:*:*:*:*:*:*:* Versions — — ·wpdirectorykit
Remediation
The sources list no fixed version for WP Directory Kit.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Timeline
- 2026-12-02 Threatist record created from CVE-2026-135273
- 2026-12-02 Alias added: GHSA-h8xw-j4q8-3q7p
References
Other 8
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b7792254-ab5d-4433-a627-8ea3866120d1?source=cve
- 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/application/helpers/Listing.php#L626
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/helpers.php#L775
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/application/controllers/Wdk_frontendajax.php#L55
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/public/class-wpdirectorykit-public.php#L307
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/includes/class-wpdirectorykit.php#L262
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/database.php#L502
More wpdirectorykit vulnerabilities
- TI-2025-12241 WP Directory Kit <= 1.4.4 - Authentication Bypass to Privilege Escalation via Account Takeover CVSS 3.1CRITICAL 10.0
- TI-2023-02136 WP Directory Kit <= 1.1.9 - Unauthenticated Local File Inclusion via wdk_public_action CVSS 3.1CRITICAL 9.8
- TI-2026-30931 WordPress WP Directory Kit plugin <= 1.5.1 - SQL Injection vulnerability CVSS 3.1CRITICAL 9.3
- TI-2026-28505 WordPress WP Directory Kit plugin <= 1.5.0 - SQL Injection vulnerability CVSS 3.1CRITICAL 9.3
- TI-2026-22342 WordPress WP Directory Kit plugin <= 1.5.4 - SQL Injection vulnerability CVSS 3.1CRITICAL 9.3
- TI-2024-03015 WP Directory Kit <= 1.3.0 - Authenticated (Subscriber+) SQL Injection CVSS 3.1HIGH 8.8
Sources
- CVE-2026-135273 · CVE Program
- CVE-2026-135273 · NVD
- GHSA-h8xw-j4q8-3q7p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences