CVE-2026-5721 MEDIUM

CVE-2026-5721: wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin <= 6.5.0.4 - Unauthenticated Stored Cross-Site Scripting via CSV/Excel Data Import

Vendor Wpdatatables
Product wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin
Weakness CWE-79 · XSS
Published April 20, 2026
Last update April 21, 2026

CVSS base score

4.7/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

The wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 6.5.0.4. This is due to insufficient input sanitization and output escaping in the prepareCellOutput() method of the LinkWDTColumn, ImageWDTColumn, and EmailWDTColumn classes. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, given that they can trick an Administrator into importing data from an attacker-controlled source and the affected column types (Link, Image, or Email) are configured.

Explanation of Vulnerability in Simple Terms

02Summary

wpDataTables versions up to 6.5.0.4 contain a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into the plugin. An attacker can craft a malicious link or page that, when visited by a site administrator or user, executes JavaScript in their browser. This can lead to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim.

What an attacker can do

03Attacker Capabilities

Inject and execute malicious JavaScript in a user's browser when they visit a crafted page or link.

Potential impact on your site

04Site Impact

Administrators or users visiting malicious links could have their sessions hijacked, credentials stolen, or be tricked into performing unwanted actions on the site.

Conditions required to exploit

05Prerequisites

The victim must visit a malicious link or page crafted by the attacker. No authentication required.

Key dates

06Disclosure timeline

April 20, 2026 CVE published
April 21, 2026 Record updated

Related vulnerabilities

08Related CVE