CVE-2026-5721
Received Received - Intake
Stored XSS in wpDataTables Plugin's Link, Image, Email Columns

Publication date: 2026-04-20

Last updated on: 2026-04-20

Assigner: Wordfence

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-20
Last Modified
2026-04-20
Generated
2026-05-07
AI Q&A
2026-04-21
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wpdatatables wpdatatables to 6.5.0.4 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The vulnerability exists in the wpDataTables WordPress plugin, specifically in all versions up to and including 6.5.0.4. It is a Stored Cross-Site Scripting (XSS) issue caused by insufficient input sanitization and output escaping in the prepareCellOutput() method of certain classes (LinkWDTColumn, ImageWDTColumn, and EmailWDTColumn).

This flaw allows unauthenticated attackers to inject arbitrary web scripts into pages. These scripts execute whenever a user accesses the injected page, but only if an attacker can trick an Administrator into importing data from an attacker-controlled source and the affected column types (Link, Image, or Email) are configured.


How can this vulnerability impact me? :

This vulnerability can lead to the execution of malicious scripts in the context of the affected website. An attacker could exploit this to perform actions such as stealing sensitive information, hijacking user sessions, or defacing the website.

Since the attack requires tricking an Administrator into importing malicious data, the impact depends on social engineering success and the configuration of specific column types in the plugin.

The CVSS score of 4.7 indicates a medium severity, with network attack vector, high attack complexity, no privileges required, and user interaction required, affecting confidentiality and integrity but not availability.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should update the wpDataTables plugin to a version later than 6.5.0.4 where the issue is fixed.

Additionally, avoid importing data from untrusted or attacker-controlled sources, especially if the affected column types (Link, Image, or Email) are configured.

Ensure that only trusted administrators have the ability to import data into the plugin.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart