CVE-2018-25434 WP AutoSuggest 0.24 SQL Injection via autosuggest.php
Unauthenticated attackers can execute arbitrary SQL queries via the wpas_keys parameter to extract sensitive database information from WordPress installations.
- 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-2018-25434?
CVE-2018-25434 is a high-severity SQL injection vulnerability in eliekhoury WP AutoSuggest, published on 1 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
WP AutoSuggest 0.24 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the wpas_keys parameter. Attackers can send GET requests to autosuggest.php with crafted wpas_keys values to extract sensitive database information from WordPress posts and other tables.
Weakness: CWE-89
Which versions are affected by CVE-2018-25434?
How do I fix CVE-2018-25434?
No fix has been published for CVE-2018-25434 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-2018-25434 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25434 exists.
Sources
Also known as GHSA-84gh-g786-5g5w.