CVE-2025-9126
📋 TL;DR
The Smart Table Builder WordPress plugin has a stored XSS vulnerability in all versions up to 1.0.1. Authenticated attackers with Contributor access or higher can inject malicious scripts via the 'id' parameter, which execute when users view affected pages. This affects WordPress sites using vulnerable versions of the plugin.
💻 Affected Systems
- Smart Table Builder WordPress Plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal admin credentials, redirect users to malicious sites, deface websites, or perform actions as authenticated users.
Likely Case
Attackers inject malicious scripts to steal session cookies or user data from visitors viewing compromised pages.
If Mitigated
With proper input validation and output escaping, scripts are rendered harmless as text rather than executable code.
🎯 Exploit Status
Requires authenticated access (Contributor role or higher). Exploitation involves injecting scripts via the 'id' parameter that persist in the database.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Versions after 1.0.1
Vendor Advisory: https://wordpress.org/plugins/smart-table-builder/#developers
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Smart Table Builder. 4. Click 'Update Now' if available. 5. If no update appears, manually download latest version from WordPress repository and replace plugin files.
🔧 Temporary Workarounds
Disable Plugin
WordPressTemporarily disable the vulnerable plugin until patched
wp plugin deactivate smart-table-builder
Restrict User Roles
WordPressRemove Contributor role access or limit who can create/edit content
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block XSS payloads in 'id' parameter
- Apply Content Security Policy (CSP) headers to restrict script execution sources
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins for Smart Table Builder version 1.0.1 or earlier
Check Version:
wp plugin get smart-table-builder --field=version
Verify Fix Applied:
Verify plugin version is higher than 1.0.1 and check commit c9ca2adbb39fe4543e1eb56fc90cf1aeab558971 is applied
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to plugin endpoints with script tags in parameters
- Multiple failed login attempts followed by successful Contributor-level login
Network Indicators:
- Outbound connections to suspicious domains from WordPress server
- Unexpected JavaScript loading from WordPress pages
SIEM Query:
source="wordpress.log" AND ("smart-table-builder" OR "id parameter") AND ("script" OR "javascript" OR "onload" OR "onerror")
🔗 References
- https://github.com/DesignMike/smart-table-builder/commit/c9ca2adbb39fe4543e1eb56fc90cf1aeab558971
- https://plugins.trac.wordpress.org/browser/smart-table-builder/trunk/includes/Frontend.php#L28
- https://plugins.trac.wordpress.org/changeset/3351768/smart-table-builder/trunk/includes/Frontend.php
- https://wordpress.org/plugins/smart-table-builder/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/44e68e0c-1b21-411b-9ff7-6b6affc5988e?source=cve