CVE-2025-5720

6.4 MEDIUM

📋 TL;DR

This vulnerability allows unauthenticated attackers to inject malicious scripts into WordPress websites using the Customer Reviews for WooCommerce plugin. The stored XSS executes when users view pages containing the injected content, potentially affecting all visitors of vulnerable sites.

💻 Affected Systems

Products:
  • Customer Reviews for WooCommerce WordPress plugin
Versions: All versions up to and including 5.80.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with the vulnerable plugin enabled.

⚠️ 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 session cookies, redirect users to malicious sites, deface websites, or perform actions on behalf of authenticated users.

🟠

Likely Case

Attackers inject malicious scripts to steal user data, display fraudulent content, or redirect users to phishing sites.

🟢

If Mitigated

With proper web application firewalls and content security policies, script execution would be blocked, limiting impact to data injection only.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Simple HTTP requests with malicious payloads in the 'author' parameter can trigger this vulnerability.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 5.80.2

Vendor Advisory: https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Customer Reviews for WooCommerce'. 4. Click 'Update Now' if available. 5. If no update appears, manually download latest version from WordPress.org and replace plugin files.

🔧 Temporary Workarounds

Web Application Firewall Rule

all

Block or sanitize requests containing script tags in the 'author' parameter

Content Security Policy

all

Implement strict CSP headers to prevent script execution from untrusted sources

🧯 If You Can't Patch

  • Disable the Customer Reviews for WooCommerce plugin immediately
  • Implement network-level filtering to block malicious payloads targeting the 'author' parameter

🔍 How to Verify

Check if Vulnerable:

Check plugin version in WordPress admin under Plugins > Installed Plugins. If version is 5.80.2 or lower, you are vulnerable.

Check Version:

wp plugin get customer-reviews-woocommerce --field=version

Verify Fix Applied:

After updating, verify plugin version is higher than 5.80.2. Test by attempting to inject script payloads in review author fields.

📡 Detection & Monitoring

Log Indicators:

  • HTTP POST requests with script tags in 'author' parameter
  • Unusual review submissions with HTML/script content

Network Indicators:

  • Inbound requests with JavaScript payloads in form fields
  • Outbound connections to suspicious domains after review submission

SIEM Query:

source="web_logs" AND ("author=" AND ("<script" OR "javascript:" OR "onerror="))

🔗 References

📤 Share & Export