What the vulnerability does
01Description
The TablePress plugin for WordPress is vulnerable to DOM-Based Stored Cross-Site Scripting via the 'data-caption', 'data-s-content-padding', 'data-s-title', and 'data-footer' data-attributes in all versions up to, and including, 3.1.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
TablePress versions up to 3.1.2 contain a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts into table data. When other users view affected tables, the injected code executes in their browsers, potentially compromising their sessions or stealing data. The vulnerability requires a logged-in attacker but affects all site visitors who view the compromised table.
What an attacker can do
03Attacker Capabilities
Inject JavaScript code that runs in visitors' browsers when they view a table, stealing session cookies or performing actions on their behalf.
Potential impact on your site
04Site Impact
Visitors viewing tables created by compromised accounts may have their sessions hijacked or be redirected to malicious sites.
Conditions required to exploit
05Prerequisites
Attacker must have a WordPress user account with permission to create or edit TablePress tables.
Key dates
06Disclosure timeline
May 23, 2025
CVE published
April 8, 2026
Record updated