wpDataTables (Premium) <= 3.4.1 - Blind SQL Injection via start Parameter
Strategic Overview
- Status
- Patched in 3.4.2
- Affected Plugin
- wpDataTables (Premium)
- Affected Version
< 3.4.2- CVSS
- 6.5Medium
- Weakness type
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CVE
CVE-2021-24199
At a glance
CVE-2021-24199 is a medium-severity Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in the wpDataTables (Premium) WordPress plugin, affecting versions < 3.4.2. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity; high confidentiality impact). The issue is fixed in version 3.4.2; sites on affected versions should update now. Disclosed March 2021, reported by Veno Eivazian.
Vulnerability Overview
The wpDataTables – Tables & Table Charts premium WordPress plugin before 3.4.2 allows a low privilege authenticated user to perform Boolean-based blind SQL Injection in the table list page on the endpoint /wp-admin/admin-ajax.php?action=get_wdtable&table_id=1, on the 'start' HTTP POST parameter. This allows an attacker to access all the data in the database and obtain access to the WordPress application. Please note that this only affects the premium version of the plugin which shares the same slug as the free version.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
wpDataTables (Premium) < 3.4.2 carries this weakness at start, and reaching it takes a caller who can reach the endpoint. SQL injection happens when request data is concatenated into a query instead of being bound as a parameter, letting an attacker change the structure of the statement rather than just its values.
A working injection can read any table the database user can see, which on a WordPress install means user records, password hashes and session or API secrets stored in options. For wpDataTables (Premium) the fix is 3.4.2: builds < 3.4.2 are affected, anything from 3.4.2 onward is not.
Remediation
Update to version 3.4.2, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to wpDataTables (Premium): WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: wpDataTables (Premium) 3.4.2 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
- 10.0CVE-2024-3820: wpDataTables - Tables & Table Charts SQL Injection
CVE-2024-3820 - 9.8CVE-2014-9175: wpDataTables (Premium) <= 1.5.3 SQL Injection
CVE-2014-9175 - 8.8CVE-2021-26754: wpDataTables (Premium) <= 3.4 SQL Injection
CVE-2021-26754 - 7.5CVE-2026-54825: wpDataTables (Premium) <= 7.4 SQL Injection
CVE-2026-54825
Other vulnerabilities in wpDataTables (Premium)
- 9.8wpDataTables <= 1.5.3 Arbitrary File Upload
- 8.1CVE-2026-28039: wpDataTables (Premium) <= 6.5.0.1 Local File Inclusion
CVE-2026-28039 - 8.1CVE-2021-24197: wpDataTables Improper Access Control
CVE-2021-24197 - 8.1CVE-2021-24198: wpDataTables Improper Access Control
CVE-2021-24198 - 7.5CVE-2026-49080: wpDataTables (Premium) <= 7.3.6 SQL Injection
CVE-2026-49080 - 7.3CVE-2024-3821: wpDataTables - Tables… DataTable Access & Modification
CVE-2024-3821 - 7.2CVE-2026-66597: wpDataTables (Premium) <= 6.5.1.4 Stored XSS
CVE-2026-66597 - 7.2CVE-2026-65509: wpDataTables (Premium) <= 7.5.1 Stored XSS
CVE-2026-65509
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C