CVE-2026-18881 TableOn <= 1.0.5.1 - Unauthenticated Blind SQL Injection via 'comment_count' Filter Parameter
Unauthenticated attackers can exploit blind SQL injection in the TableOn WordPress plugin to extract sensitive database information, including user credentials.
- 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-18881?
CVE-2026-18881 is a high-severity SQL injection vulnerability in realmag777 TableOn – WordPress Posts Table Filterable, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The TableOn – WordPress Posts Table Filterable plugin for WordPress is vulnerable to blind SQL Injection via the `filter_data[comment_count]` parameter of the public `tableon_get_table_data` AJAX action in all versions up to, and including, 1.0.5.1. This is due to insufficient escaping on the user-supplied parameter and lack of sufficient preparation on the existing SQL query — the value is split on `:` and both halves are interpolated directly into a `posts_where` SQL clause without `intval()` casting or `$wpdb->prepare()`. This makes it possible for unauthenticated attackers to append additional SQL queries into the already-existing query that can be used to extract sensitive information from the database (researcher demonstrated extraction of database(), wp_users.user_login, and wp_users.user_pass).
Weakness: CWE-89
Which versions are affected by CVE-2026-18881?
How do I fix CVE-2026-18881?
No fix has been published for CVE-2026-18881 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-18881 being exploited?
There is no known exploitation of CVE-2026-18881 in the wild and no public exploit code.
Sources
Also known as GHSA-m5hr-2pjq-pp4w.