{"id":"CVE-2026-135273","aliases":["EUVD-2026-141357","GHSA-h8xw-j4q8-3q7p"],"status":"published","title":"WP Directory Kit \u003c= 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-\u003eprepare()) into the WHERE clause of the Similar Listings widget query that is executed via $wpdb-\u003equery(). 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":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.01023,"percentile":0.64645,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-89"],"published":"2026-12-02T11:30:12Z","modified":"2026-12-02T20:20:33Z","exploits":[{"source":"pocgithub","id":"rxsklife/CVE-2026-135273","title":"rxsklife/CVE-2026-135273","date":"2026-12-03","url":"https://github.com/rxsklife/CVE-2026-135273"},{"source":"nuclei","id":"CVE-2026-135273","title":"WP Directory Kit - SQL Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-135273.yaml"}],"products":[{"vendor":"wpdirectorykit","product":"wp directory kit"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b7792254-ab5d-4433-a627-8ea3866120d1?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/elementor-elements/classes/wdk-listing-similar-listings.php#L207"},{"url":"https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/application/helpers/Listing.php#L626"},{"url":"https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/helpers.php#L775"},{"url":"https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/application/controllers/Wdk_frontendajax.php#L55"},{"url":"https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/public/class-wpdirectorykit-public.php#L307"},{"url":"https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/includes/class-wpdirectorykit.php#L262"},{"url":"https://plugins.trac.wordpress.org/browser/wpdirectorykit/trunk/vendor/Winter_MVC/core/database.php#L502"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135273"},{"url":"https://github.com/advisories/GHSA-h8xw-j4q8-3q7p"}],"sources":{"cve":[{"id":"CVE-2026-135273","title":"WP Directory Kit \u003c= 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-\u003eprepare()) into the WHERE clause of the Similar Listings widget query that is executed via $wpdb-\u003equery(). 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.","status":"published","published":"2026-12-02T11:30:12.522Z","modified":"2026-12-02T19:21:15.783Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-89"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T19:30:16.853058Z"}],"euvd":[{"id":"EUVD-2026-141357","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-\u003eprepare()) into the WHERE clause of the Similar Listings widget query that is executed via $wpdb-\u003equery(). 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.","status":"published","published":"2026-12-02T11:30:12Z","modified":"2026-12-02T19:21:15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-12-02T15:25:30.217075Z"}],"ghsa":[{"id":"GHSA-h8xw-j4q8-3q7p","title":"The WP Directory Kit plugin for WordPress is vulnerable to SQL Injection via the 'post_id'...","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-\u003eprepare()) into the WHERE clause of the Similar Listings widget query that is executed via $wpdb-\u003equery(). 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.","status":"published","published":"2026-12-02T12:30:30Z","modified":"2026-12-02T12:30:41Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-12-02T12:36:45.151628Z"}],"nvd":[{"id":"CVE-2026-135273","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-\u003eprepare()) into the WHERE clause of the Similar Listings widget query that is executed via $wpdb-\u003equery(). 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.","status":"published","published":"2026-12-02T12:17:20.623Z","modified":"2026-12-02T20:20:33.4Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-89"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T20:26:13.686818Z"}]}}
