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

Published Apr 20, 2026 CVSS 3.1 · 4.7 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

This vulnerability is a stored cross‑site scripting flaw in wpDataTables, a WordPress plugin. Insufficient sanitization and escaping of data in the prepareCellOutput() method allows an attacker to embed malicious scripts into table cells of the Link, Image, or Email column types. When a user opens a page containing the compromised table, the arbitrary script executes in the user’s browser, potentially enabling cookie theft, session hijacking, defacement, or other client‑side attacks. The flaw is classified as CWE-79.

Affected Systems

WordPress installations running wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin version 6.5.0.4 or earlier. The vulnerability affects any site that uses the Link, Image, or Email column types within the plugin.

Risk and Exploitability

The CVSS score of 4.7 indicates a medium impact, and the EPSS score is currently not available, so the likelihood of exploitation is uncertain. The vulnerability is not listed in the CISA KEV catalog. Attackers can exploit it by tricking an administrator into importing a malicious CSV or Excel file containing script‑laden data; this is inferred from the description and is a remote attack vector with the prerequisite of an admin action. Once the data is imported, any user who visits the page will have the script executed in their browser.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the wpDataTables plugin to a version newer than 6.5.0.4.
  • Disable or remove the ability to import external CSV/Excel files until the patch is applied by restricting the import feature to trusted users only.
  • If an update cannot be applied immediately, manually sanitize imported data by ensuring that Link, Image, and Email columns contain only trusted and properly escaped content.

Generated by OpenCVE AI on April 20, 2026 at 23:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpdatatables
Wpdatatables wpdatatables – Wordpress Data Table, Dynamic Tables & Table Charts Plugin
Vendors & Products Wordpress
Wordpress wordpress
Wpdatatables
Wpdatatables wpdatatables – Wordpress Data Table, Dynamic Tables & Table Charts Plugin
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin <= 6.5.0.4 - Unauthenticated Stored Cross-Site Scripting via CSV/Excel Data Import
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 21, 2026, 7:49 PM
Reserved
Apr 6, 2026, 8:31 PM
Status
Deferred
Published
Apr 20, 2026, 11:16 PM
Modified
Jun 17, 2026, 10:59 AM