Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-3820

CVE-2024-3820: wpDataTables Plugin SQLi Vulnerability

CVE-2024-3820 is a SQL injection flaw in the wpDataTables WordPress plugin that allows unauthenticated attackers to extract sensitive database information. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-3820 Overview

CVE-2024-3820 is a critical SQL Injection vulnerability affecting the wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin for WordPress. The vulnerability exists in 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 user-supplied parameters and lack of proper SQL query preparation, unauthenticated attackers can append malicious SQL queries to existing database queries, potentially extracting sensitive information from the WordPress database.

Critical Impact

This vulnerability allows unauthenticated remote attackers to perform SQL injection attacks, potentially compromising the entire WordPress database including user credentials, sensitive data, and site configuration. Only the premium version of the plugin is affected.

Affected Products

  • wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin (Premium) versions up to and including 6.3.1
  • WordPress installations with the affected plugin versions

Discovery Timeline

  • June 1, 2024 - CVE-2024-3820 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-3820

Vulnerability Analysis

This SQL Injection vulnerability stems from a classic input validation failure in the wpDataTables premium plugin. The wdt_delete_table_row AJAX action accepts an id_key parameter that is directly incorporated into SQL queries without proper sanitization or parameterization. Because the plugin fails to use prepared statements or adequate input escaping, attackers can manipulate the SQL query structure by injecting malicious payloads through this parameter.

The vulnerability is particularly dangerous because it requires no authentication—any remote attacker can exploit this flaw by sending crafted AJAX requests to the WordPress site. Successful exploitation enables attackers to read arbitrary data from the database, potentially including administrator credentials, user personal information, and other sensitive content stored in WordPress tables.

Root Cause

The root cause of CVE-2024-3820 is insufficient escaping on user-supplied input combined with the absence of prepared statements in the SQL query handling. When the wdt_delete_table_row AJAX action processes the id_key parameter, it directly concatenates user input into the SQL query string rather than using WordPress's built-in $wpdb->prepare() function or other parameterized query methods. This allows SQL metacharacters in the input to alter the query's logic.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker can craft malicious HTTP POST requests to the WordPress AJAX endpoint (/wp-admin/admin-ajax.php) with the action parameter set to wdt_delete_table_row and a specially crafted id_key parameter containing SQL injection payloads.

The injected SQL can utilize techniques such as UNION-based injection to retrieve data from other tables, time-based blind injection to infer data character by character, or error-based injection to extract information through database error messages. Since WordPress databases typically contain sensitive information including user accounts with hashed passwords, successful exploitation can lead to complete site compromise.

For detailed technical analysis of this vulnerability, refer to the Wordfence Vulnerability Report.

Detection Methods for CVE-2024-3820

Indicators of Compromise

  • Suspicious POST requests to /wp-admin/admin-ajax.php containing wdt_delete_table_row action with malformed or unusual id_key parameters
  • Database query logs showing unexpected SQL syntax including UNION, SELECT, or comment sequences (-- or #) in table row deletion operations
  • Web server access logs with multiple rapid requests to the AJAX endpoint from single IP addresses
  • Anomalous database read patterns or unexpected data exfiltration attempts

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in requests to WordPress AJAX endpoints
  • Monitor WordPress AJAX action logs for wdt_delete_table_row calls with suspicious parameter values containing SQL keywords or special characters
  • Deploy intrusion detection systems (IDS) with signatures for common SQL injection payloads targeting the id_key parameter
  • Review database slow query logs for unusual queries originating from the wpDataTables plugin

Monitoring Recommendations

  • Enable detailed logging on the WordPress database server to capture all queries executed by the wpDataTables plugin
  • Configure alerts for any SQL errors or exceptions generated during table row deletion operations
  • Monitor network traffic for patterns consistent with automated SQL injection tools targeting WordPress sites
  • Implement database activity monitoring to detect unauthorized data access or extraction attempts

How to Mitigate CVE-2024-3820

Immediate Actions Required

  • Update wpDataTables premium plugin to version 6.3.2 or later immediately
  • If immediate patching is not possible, temporarily disable the wpDataTables plugin until the update can be applied
  • Review database logs for any evidence of prior exploitation attempts
  • Consider implementing a Web Application Firewall with SQL injection protection rules

Patch Information

The wpDataTables development team has addressed this vulnerability in versions after 6.3.1. Administrators should update to the latest available version through the WordPress plugin update mechanism or by downloading directly from the official wpDataTables website. Review the wpDataTables Changelog for complete version history and security fixes.

Workarounds

  • Temporarily disable the wpDataTables plugin if updating is not immediately possible
  • Implement WAF rules to block requests containing SQL injection patterns in the id_key parameter
  • Restrict access to the WordPress AJAX endpoint (admin-ajax.php) using server-level access controls where feasible
  • Consider using a security plugin that provides real-time protection against SQL injection attacks
bash
# Example: Block suspicious requests at the web server level (Apache)
# Add to .htaccess file in WordPress root
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} admin-ajax\.php
RewriteCond %{QUERY_STRING} wdt_delete_table_row [NC,OR]
RewriteCond %{HTTP:Content-Type} wdt_delete_table_row [NC]
RewriteRule .* - [F,L]
</IfModule>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWpdatatables

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability2.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • Technical References
  • wpDataTables Changelog Update

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-28039: wpDataTables Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English