CVE-2025-46534

6.5 MEDIUM

📋 TL;DR

This DOM-based Cross-Site Scripting (XSS) vulnerability in the Image Style Hover WordPress plugin allows attackers to inject malicious scripts into web pages viewed by users. The vulnerability affects all WordPress sites using Image Style Hover plugin versions up to 1.0.6. Attackers can steal session cookies, redirect users to malicious sites, or perform actions on behalf of authenticated users.

💻 Affected Systems

Products:
  • WordPress Image Style Hover plugin
Versions: n/a through 1.0.6
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations using 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 session cookies, take over WordPress sites, install backdoors, deface websites, or use the compromised site to attack visitors.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, redirect users to phishing sites, or perform actions as authenticated users.

🟢

If Mitigated

With proper input validation and output encoding, the malicious scripts would be neutralized before execution, preventing exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

DOM-based XSS typically requires user interaction but can be exploited through crafted links or forms.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.7 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/image-content-show-hover/vulnerability/wordpress-image-style-hover-1-0-6-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 'Image Style Hover' plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin, then install fresh version from WordPress repository.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the Image Style Hover plugin until patched version is available

wp plugin deactivate image-style-hover

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

  • Implement Web Application Firewall (WAF) rules to block XSS payloads
  • Disable plugin functionality entirely until patch can be applied

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins → Image Style Hover version number

Check Version:

wp plugin get image-style-hover --field=version

Verify Fix Applied:

Verify plugin version is 1.0.7 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual JavaScript in URL parameters
  • Suspicious POST/GET requests containing script tags
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • HTTP requests with script tags in parameters
  • Unusual outbound connections after page load
  • Cookie theft patterns in network traffic

SIEM Query:

source="web_server.log" AND ("<script>" OR "javascript:" OR "onload=" OR "onerror=")

🔗 References

📤 Share & Export