CVE-2025-5096

6.4 MEDIUM

📋 TL;DR

The TablePress WordPress plugin has a DOM-based stored XSS vulnerability in versions up to 3.1.2. Authenticated attackers with Contributor access or higher can inject malicious scripts via specific data-attributes, which execute when users view affected pages. This affects all WordPress sites using vulnerable TablePress versions.

💻 Affected Systems

Products:
  • TablePress WordPress Plugin
Versions: All versions up to and including 3.1.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with TablePress plugin enabled. Contributor-level authentication needed for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal admin credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers with contributor accounts inject malicious scripts to steal session cookies or redirect users to phishing pages.

🟢

If Mitigated

With proper input validation and output escaping, scripts are neutralized and rendered harmless as text.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires authenticated access but is technically simple once access is obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 3.1.3 or later

Vendor Advisory: https://wordpress.org/plugins/tablepress/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find TablePress and click 'Update Now'. 4. Verify update to version 3.1.3 or higher.

🔧 Temporary Workarounds

Remove Contributor Access

all

Temporarily restrict contributor-level access until patching is complete

Disable TablePress Plugin

all

Deactivate the plugin if not essential for site functionality

🧯 If You Can't Patch

  • Implement strict user role management and review all contributor accounts
  • Deploy web application firewall with XSS protection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > TablePress version number

Check Version:

wp plugin list --name=tablepress --field=version

Verify Fix Applied:

Confirm TablePress version is 3.1.3 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to TablePress endpoints with script-like content in data-attributes
  • Multiple failed login attempts followed by successful contributor login

Network Indicators:

  • Outbound connections to suspicious domains from WordPress server
  • Unexpected JavaScript payloads in HTTP responses

SIEM Query:

source="wordpress.log" AND ("tablepress" AND ("data-caption" OR "data-s-content-padding" OR "data-s-title" OR "data-footer") AND script_patterns)

🔗 References

📤 Share & Export