A critical security vulnerability has been uncovered in the wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin, a widely used plugin for WordPress websites to create dynamic tables and charts.
The vulnerability, identified as CVE-2024-3820, enables attackers to execute SQL injection through the ‘id_key’ parameter of the wdt_delete_table_row AJAX action. This weakness impacts all versions of the plugin up to and including 6.3.1.
As per the details provided by the WordFence blogs, the vulnerability stems from inadequate escaping of user-supplied parameters and insufficient preparation on the existing SQL query. This flaw permits unauthenticated attackers to add extra SQL queries to the existing ones, potentially accessing sensitive information from the database.
It should be noted that this vulnerability exclusively affects the premium edition of the wpDataTables plugin. Given the severity of this vulnerability, it poses a significant threat to websites utilizing the affected versions of the wpDataTables plugin.
Exploiting this vulnerability can result in unauthorized access to sensitive data stored in the database, paving the way for data breaches, loss of confidential information, and potential harm to the website’s credibility.
In order to mitigate the risks associated with this vulnerability, website administrators using the wpDataTables plugin are strongly recommended to take the following steps:
1. Update the Plugin: Ensure the plugin is promptly updated to the latest version once the developers release a patch.
2. Monitor for Unusual Activity: Regularly check the website logs and database for any unusual activity that may indicate attempted or successful exploitation.
3. Implement Web Application Firewalls (WAF): Employ a WAF to detect and prevent SQL injection attempts.
The discovery of CVE-2024-3820 underscores the importance of conducting regular security assessments and updating WordPress plugins. Website administrators must remain vigilant and proactive in addressing vulnerabilities to safeguard their sites against potential cyber threats.
It is anticipated that the developers of the wpDataTables plugin will soon roll out a patch to address this vulnerability, and users are advised to apply it promptly to minimize the associated risks.
For further information and updates regarding this vulnerability, it is recommended to stay informed through security advisories and the official wpDataTables plugin website. Stay tuned for the latest developments on this issue to ensure the security of your website and data.
As cyber threats continue to evolve, it is imperative for website owners to prioritize security measures and stay abreast of potential vulnerabilities to protect their online assets effectively.

