CVE-2025-47592

5.9 MEDIUM

📋 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

Products:
  • Legal Terms and Conditions Popup for User Login and WooCommerce Checkout – TPUL WordPress plugin
Versions: n/a through 2.0.3
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with vulnerable plugin versions are affected regardless of configuration.

⚠️ 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.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

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

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/terms-popup-on-user-login/vulnerability/wordpress-legal-terms-and-conditions-popup-for-user-login-and-woocommerce-checkout-tpul-2-0-3-cross-site-scripting-xss-vulnerability?_s_id=cve

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

all

Temporarily deactivate the plugin until patched version is available

wp plugin deactivate terms-popup-on-user-login

Implement Content Security Policy

all

Add 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=")

🔗 References

📤 Share & Export