Wpdirectorykit WP Directory Kit
WP Directory Kit <= 1.6.3 - Unauthenticated SQL Injection via 'post_id' Parameter
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.6.3
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 19 h after publication; not in CISA KEV. First PoC: rxsklife/CVE-2026-135273 (created 3 Dec 2026, found by us: 3 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| rxsklife/CVE-2026-135273 | 3 Dec 2026 +19 h | 3 Dec 2026 | 0 | PoC
Flags · score 35
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /wp-admin/admin-ajax.php
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0 Safari/537.36- Seen in
- 1 repo: rxsklife/CVE-2026-135273
- Evidence
- rxsklife/CVE-2026-135273/poc.py:9
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-135273 wpdirectorykit WP Directory Kit exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-135273; classtype:web-application-attack; sid:9652983; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: wpdirectorykit WP Directory Kit exploit attempt (CVE-2026-135273)
id: gg-pocmon-cve-2026-135273-9652983
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-135273. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-135273
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.135273