Skip to main content

CVE-2025-5096: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tobiasbg TablePress – Tables in WordPress made easy

Medium
VulnerabilityCVE-2025-5096cvecve-2025-5096cwe-79
Published: Fri May 23 2025 (05/23/2025, 08:23:39 UTC)
Source: CVE
Vendor/Project: tobiasbg
Product: TablePress – Tables in WordPress made easy

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.

AI-Powered Analysis

AILast updated: 07/08/2025, 04:55:45 UTC

Technical Analysis

CVE-2025-5096 is a medium-severity vulnerability affecting the TablePress plugin for WordPress, a widely used tool for creating and managing tables on WordPress sites. The vulnerability is classified as a DOM-Based Stored Cross-Site Scripting (XSS) issue, identified under CWE-79, which arises due to improper neutralization of input during web page generation. Specifically, the flaw exists in the handling of certain HTML5 data-attributes: 'data-caption', 'data-s-content-padding', 'data-s-title', and 'data-footer'. These attributes are insufficiently sanitized and escaped before being rendered in the DOM, allowing an authenticated attacker with Contributor-level privileges or higher to inject arbitrary JavaScript code. This malicious script executes in the context of any user who visits the compromised page, potentially leading to session hijacking, privilege escalation, or other malicious activities. The vulnerability affects all versions of TablePress up to and including version 3.1.2. Exploitation does not require user interaction beyond visiting the infected page, and no higher privilege than Contributor is necessary, making it a significant risk for sites that allow user-generated content or multiple contributors. The CVSS v3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, and privileges required. No known public exploits have been reported yet, and no official patches or updates have been linked at the time of publication.

Potential Impact

For European organizations, this vulnerability poses a tangible risk especially to those relying on WordPress for their web presence, including SMEs, media outlets, educational institutions, and public sector websites. The ability for an authenticated contributor to inject persistent scripts can lead to unauthorized data access, defacement, or distribution of malware to site visitors. Given the widespread use of WordPress in Europe, the vulnerability could facilitate targeted attacks against organizations with collaborative content workflows. The compromise of user sessions or administrative accounts could lead to further infiltration of internal networks or data breaches, impacting confidentiality and integrity. Additionally, the cross-site scripting could be leveraged for phishing or social engineering campaigns, undermining user trust and compliance with data protection regulations such as GDPR. The lack of a patch increases the urgency for mitigation, as attackers may develop exploits once the vulnerability becomes widely known.

Mitigation Recommendations

European organizations should immediately audit their WordPress installations to identify the presence and version of the TablePress plugin. Until an official patch is released, the following specific mitigations are recommended: 1) Restrict Contributor-level access and above to trusted users only, minimizing the risk of malicious input. 2) Implement strict input validation and sanitization at the application or web server level, possibly using Web Application Firewalls (WAFs) configured to detect and block suspicious payloads targeting the vulnerable data-attributes. 3) Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of XSS attacks. 4) Monitor logs and user activity for unusual behavior indicative of exploitation attempts. 5) Consider temporarily disabling or removing the TablePress plugin if it is not essential. 6) Stay alert for vendor updates or patches and apply them promptly once available. 7) Educate content contributors about the risks of injecting untrusted content and enforce strict editorial controls.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-05-22T19:51:40.089Z
Cisa Enriched
false
Cvss Version
3.1
State
PUBLISHED

Threat ID: 683033c10acd01a249271b7f

Added to database: 5/23/2025, 8:37:21 AM

Last enriched: 7/8/2025, 4:55:45 AM

Last updated: 7/31/2025, 1:33:35 PM

Views: 11

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats