CVE-2026-18474 WP Directory Kit < 1.5.6 - Unauthenticated SQL Injection via search_location and search_category

High 8.6 Published Updated

Unauthenticated attackers can perform SQL injection in WP Directory Kit when a non-default search field type is configured, allowing data access or modification.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-18474?

CVE-2026-18474 is a high-severity SQL injection vulnerability in Unknown WP Directory Kit, published on 12 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The WP Directory Kit WordPress plugin before 1.5.6 does not sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by unauthenticated users when a non-default search field type is configured.

Weakness: CWE-89

Which versions are affected by CVE-2026-18474?

How do I fix CVE-2026-18474?

No fix has been published for CVE-2026-18474 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-18474 being exploited?

There is no known exploitation of CVE-2026-18474 in the wild and no public exploit code.

Sources

Also known as GHSA-5435-q9p7-mwhc.

Is CVE-2026-18474 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free