CVE-2026-5721 Cross-site scripting in wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin
Unauthenticated attackers can inject scripts via CSV/Excel imports if an Administrator imports malicious data into specific column types.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-5721?
CVE-2026-5721 is a medium-severity cross-site scripting vulnerability in wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin, published on 20 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-5721?
How do I fix CVE-2026-5721?
No fix has been published for CVE-2026-5721 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-5721 being exploited?
There is no known exploitation of CVE-2026-5721 in the wild and no public exploit code.
Sources
Also known as GHSA-3mhm-cc78-hw48.