CVE-2025-31092

6.5 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the Click to Chat WordPress plugin allows attackers to inject malicious scripts that execute when other users view affected pages. WordPress sites using vulnerable versions of this plugin are affected, potentially compromising visitor sessions and site integrity.

💻 Affected Systems

Products:
  • Click to Chat – WP Support All-in-One Floating Widget
Versions: n/a through 2.3.4
Operating Systems: Any OS 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, deface websites, redirect visitors to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Session hijacking of logged-in users, cookie theft, or displaying malicious content to visitors.

🟢

If Mitigated

Limited impact with proper content security policies, input validation, and user awareness training.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Stored XSS vulnerabilities are commonly exploited and weaponization is likely given the prevalence of WordPress.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.3.5 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/support-chat/vulnerability/wordpress-click-to-chat-wp-support-all-in-one-floating-widget-plugin-2-3-4-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 'Click to Chat – WP Support All-in-One Floating Widget'. 4. Click 'Update Now' if available. 5. Alternatively, download version 2.3.5+ from WordPress repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the plugin until patched

wp plugin deactivate click-to-chat-wp-support-all-in-one-floating-widget

Implement Content Security Policy

all

Add CSP headers to mitigate XSS impact

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'");

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads
  • Disable user input fields in the plugin settings if possible

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for 'Click to Chat – WP Support All-in-One Floating Widget' version 2.3.4 or earlier

Check Version:

wp plugin get click-to-chat-wp-support-all-in-one-floating-widget --field=version

Verify Fix Applied:

Verify plugin version is 2.3.5 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints
  • Suspicious JavaScript in form submissions
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • Malicious script tags in HTTP requests
  • Unexpected redirects from chat widget pages

SIEM Query:

source="web_server" AND ("click-to-chat" OR "support-chat") AND ("<script>" OR "javascript:" OR "onload=" OR "onerror=")

🔗 References

📤 Share & Export