wpDataTables - Tables & Table Charts (Premium) <= 6.3.1 - Unauthenticated SQL Injection
Strategic Overview
- Status
- Patched in 6.3.2
- Affected Plugin
- wpDataTables (Premium)
- Affected Version
<= 6.3.1- CVSS
- 10.0Critical
- Weakness type
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CVE
CVE-2024-3820
At a glance
CVE-2024-3820 is a critical-severity Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in the wpDataTables (Premium) WordPress plugin, affecting versions <= 6.3.1. It carries a CVSS score of 10.0 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 6.3.2; sites on affected versions should update now. Disclosed May 2024, reported by villu164.
Vulnerability Overview
The wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin plugin for WordPress is vulnerable to SQL Injection via the 'id_key' parameter of the wdt_delete_table_row AJAX action in all versions up to, and including, 6.3.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL 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. Please note this only affects the premium version of the plugin.
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 privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
wpDataTables (Premium) <= 6.3.1 carries this weakness at id_key, and reaching it takes no account at all. 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 6.3.2: builds <= 6.3.1 are affected, anything from 6.3.2 onward is not.
Remediation
Update to version 6.3.2, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: wpDataTables (Premium) 6.3.2 closes this, and updating the plugin is the step that ends it.
- Firewall
- Login Security
- Alerts
External References
Related records
Same weakness class
- 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 - 7.5CVE-2026-49080: wpDataTables (Premium) <= 7.3.6 SQL Injection
CVE-2026-49080
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.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 - 7.2CVE-2026-57672: wpDataTables (Premium) <= 6.5.1.1 Stored XSS
CVE-2026-57672
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C