CVE-2025-47592
📋 TL;DR
This stored cross-site scripting (XSS) vulnerability in the Legal Terms and Conditions Popup for User Login and WooCommerce Checkout WordPress plugin allows attackers to inject malicious scripts that execute when other users view affected pages. All WordPress sites using vulnerable versions of this plugin are affected, potentially compromising user sessions and data.
💻 Affected Systems
- Legal Terms and Conditions Popup for User Login and WooCommerce Checkout – TPUL 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, take over the WordPress site, deface pages, or redirect users to malicious sites, leading to complete site compromise and data theft.
Likely Case
Attackers inject malicious JavaScript to steal user session cookies, potentially hijacking user accounts and performing unauthorized actions on their behalf.
If Mitigated
With proper input validation and output encoding, malicious scripts would be neutralized, preventing execution while maintaining plugin functionality.
🎯 Exploit Status
Stored XSS vulnerabilities are commonly exploited, though specific exploit details for this CVE aren't publicly documented.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.0.4 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Legal Terms and Conditions Popup for User Login and WooCommerce Checkout – TPUL'. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 2.0.4+ from WordPress repository and replace plugin files.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily deactivate the plugin until patched version is available
wp plugin deactivate terms-popup-on-user-login
Implement Content Security Policy
allAdd CSP headers to restrict script execution sources
Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Add to wp-config.php: header("Content-Security-Policy: default-src 'self'; script-src 'self'");
🧯 If You Can't Patch
- Disable the plugin completely
- Implement web application firewall rules to block XSS payloads
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for 'Legal Terms and Conditions Popup for User Login and WooCommerce Checkout – TPUL' version 2.0.3 or earlier
Check Version:
wp plugin get terms-popup-on-user-login --field=version
Verify Fix Applied:
Verify plugin version is 2.0.4 or later in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to plugin endpoints
- JavaScript payloads in form submissions
- Multiple failed login attempts after plugin updates
Network Indicators:
- Script tags with malicious content in HTTP requests
- Unexpected outbound connections after page loads
SIEM Query:
source="wordpress.log" AND "terms-popup-on-user-login" AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")