Description
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.
Published: 2025-05-23
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting (DOM‑based)
Action: Patch
AI Analysis

Impact

This flaw allows an injected script via data‑attributes in TablePress to run automatically whenever a page with the affected table is displayed. The vulnerability arises from insufficient sanitisation of the data‑caption, data‑s‑content‑padding, data‑s‑title and data‑footer attributes, which are stored server‑side and rendered on the client. An attacker who can create or edit a table with Contributor‑level or higher access can place malicious code; any user who views the injected page will have the script execute, potentially enabling session hijacking, defacement, or other client‑side attacks. The weakness is classified as CWE‑79, a classic DOM‑based stored cross‑site scripting issue.

Affected Systems

The flaw affects the TablePress plugin for WordPress, any installation of TablePress version 3.1.2 or earlier. The affected product is the "TablePress – Tables in WordPress made easy" plugin available through the WordPress plugin repository. No other vendors or products are listed.

Risk and Exploitability

The CVSS score is 6.4, indicating a medium‑severity vulnerability. The EPSS score is below 1 %, which suggests a low probability of exploitation in the wild. The flaw is not listed in the CISA KEV catalog. Exploitability requires an attacker to authenticate to the WordPress site with Contributor‑level or higher access to create or edit tables. Once the malicious payload is stored in the data‑attributes, any visitor to the page will trigger the script; thus the risk is tied to sites that allow contributions and do not sanitize the attributes. The attack vector is therefore authenticated, role‑based, and the vulnerability can be leveraged to affect all users who access the impacted page.

Generated by OpenCVE AI on April 20, 2026 at 22:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade TablePress to version 3.1.3 or later.
  • If an upgrade is not immediately possible, remove or disable the affected tables that contain injected data to stop script execution.
  • Restrict Contributor‑level access on the WordPress site or temporarily change contributor users to a lower role until the plugin is updated.

Generated by OpenCVE AI on April 20, 2026 at 22:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-28378 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.
History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00073}

epss

{'score': 0.00068}


Fri, 11 Jul 2025 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Tablepress
Tablepress tablepress
CPEs cpe:2.3:a:tablepress:tablepress:*:*:*:*:*:wordpress:*:*
Vendors & Products Tablepress
Tablepress tablepress

Fri, 23 May 2025 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 23 May 2025 08:30:00 +0000

Type Values Removed Values Added
Description 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.
Title TablePress <= 3.1.2 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via Multiple Parameters
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Tablepress Tablepress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:24:00.375Z

Reserved: 2025-05-22T19:51:40.089Z

Link: CVE-2025-5096

cve-icon Vulnrichment

Updated: 2025-05-23T12:33:37.474Z

cve-icon NVD

Status : Analyzed

Published: 2025-05-23T09:15:21.710

Modified: 2025-07-11T19:41:21.707

Link: CVE-2025-5096

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-20T23:00:14Z

Weaknesses