All vulnerabilities

WordPress plugins

CVE-2026-135273

WP Directory Kit <= 1.6.3 - Unauthenticated SQL Injection via 'post_id' Parameter

Severity
High 7.5
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
SQL injection (CWE-89)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
Wpdirectorykit (WordPress plugin)WordPress plugins · wp-plugin:wpdirectorykit
  • Every version up to 1.6.3

About WP Directory Kit

Build your Directory portal, demos for Real Estate Agency and Car Dealership included

From its WordPress.org page.
Active installations
2,000+WordPress.org, 1 Dec 2026
Latest version
1.6.5WordPress.org, 1 Dec 2026
Last updated
26 Nov 2026WordPress.org
Rating
4.9 out of 5 (35 ratings)WordPress.org, 1 Dec 2026
Requires WordPress
5.3WordPress.org
Requires PHP
7.0WordPress.org
Tested up to WordPress
7.1.5WordPress.org
Author
WPDirectoryKitWordPress.org
In the directory since
28 Jan 2021WordPress.org

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135273