CVE-2025-5720
📋 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
- Customer Reviews for WooCommerce 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 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.
🎯 Exploit Status
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
allBlock or sanitize requests containing script tags in the 'author' parameter
Content Security Policy
allImplement 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
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.78.1/includes/reviews/class-cr-reviews-list-table.php#L1033
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.78.1/includes/reviews/class-cr-reviews-list-table.php#L1052
- https://plugins.trac.wordpress.org/browser/customer-reviews-woocommerce/tags/5.78.1/includes/reviews/class-cr-reviews-list-table.php#L1073
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6126ec74-d522-45ff-aa03-07aad5fb75b9?source=cve