CVE-2024-12818
📋 TL;DR
The WP Smart TV WordPress plugin has a stored cross-site scripting vulnerability in its 'tv-video-player' shortcode. Authenticated attackers with contributor-level access or higher can inject malicious scripts that execute when users view compromised pages. This affects all WordPress sites using the plugin up to version 2.1.8.
💻 Affected Systems
- WP Smart TV 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 administrator credentials, redirect users to malicious sites, deface websites, or install backdoors for persistent access.
Likely Case
Attackers with contributor access inject malicious scripts to steal user session cookies or display phishing content to visitors.
If Mitigated
With proper user role management and content review processes, the risk is limited to trusted contributors misusing their access.
🎯 Exploit Status
Exploitation requires authenticated access but is technically simple once an attacker has contributor credentials.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.1.9
Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3222468%40wp-smart-tv&new=3222468%40wp-smart-tv&sfp_email=&sfph_mail=
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find WP Smart TV plugin. 4. Click 'Update Now' if available. 5. Alternatively, download version 2.1.9+ from WordPress repository and manually update.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the WP Smart TV plugin until patched.
wp plugin deactivate wp-smart-tv
Restrict User Roles
allRemove contributor access or implement strict content review for all posts/pages.
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block XSS payloads in shortcode attributes
- Enable Content Security Policy (CSP) headers to restrict script execution sources
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins for WP Smart TV version 2.1.8 or lower.
Check Version:
wp plugin get wp-smart-tv --field=version
Verify Fix Applied:
Confirm WP Smart TV plugin version is 2.1.9 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual shortcode modifications in post/page revisions
- Multiple failed login attempts followed by contributor account access
Network Indicators:
- Unexpected script tags in HTTP responses containing 'tv-video-player' shortcode
SIEM Query:
source="wordpress" AND (plugin="wp-smart-tv" AND version<="2.1.8") OR (event="post_modified" AND user_role="contributor" AND content CONTAINS "tv-video-player")