Read the docs

WP Directory Kit Unauthenticated SQL Injection via post_id Parameter

Priority MEDIUM 48CWE-89Published · Updated

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

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
wpdirectorykitWP Directory Kitup to 1.6.3—No fix listedCNA
  • 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.

CPEVersionsRoleVendor
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

  1. 2026-12-02 Threatist record created from CVE-2026-135273
  2. 2026-12-02 Alias added: GHSA-h8xw-j4q8-3q7p

References

  • 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
See all 29 →

Sources