CVE-2025-13974
📋 TL;DR
This stored XSS vulnerability in the Email Customizer for WooCommerce WordPress plugin allows authenticated administrators to inject malicious scripts into email templates. These scripts execute when customers view transactional emails, potentially compromising their browsers. Only multi-site WordPress installations and single-site installations with unfiltered_html disabled are affected.
💻 Affected Systems
- Email Customizer 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 customer session cookies, redirect users to malicious sites, or perform actions on behalf of users when they view infected transactional emails.
Likely Case
Authenticated administrators could embed tracking scripts or deface email content visible to customers, damaging trust and brand reputation.
If Mitigated
With proper input validation and output escaping, no script execution occurs, maintaining email integrity.
🎯 Exploit Status
Exploitation requires administrator-level WordPress access. Attackers with such access can directly edit email templates via the plugin interface to inject scripts.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.6.8 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/email-customizer-for-woocommerce/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Email Customizer for WooCommerce'. 4. Click 'Update Now' if available, or manually update to version 2.6.8+. 5. Verify update completes successfully.
🔧 Temporary Workarounds
Enable unfiltered_html capability
allFor single-site installations, ensure the unfiltered_html capability is enabled for administrators (default in WordPress). This prevents the vulnerability from being exploitable.
No commands needed; check WordPress configuration.
Restrict administrator access
allLimit administrator accounts to only trusted personnel and implement strong authentication (e.g., 2FA) to reduce risk of malicious admin actions.
No commands needed; manage user roles in WordPress.
🧯 If You Can't Patch
- Temporarily disable the Email Customizer for WooCommerce plugin if not essential for business operations.
- Implement a web application firewall (WAF) with XSS protection rules to block malicious script injection attempts.
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin > Plugins > Installed Plugins for 'Email Customizer for WooCommerce'. If version is 2.6.7 or lower, and you have a multi-site install or unfiltered_html disabled, you are vulnerable.
Check Version:
wp plugin list --name='Email Customizer for WooCommerce' --field=version (if WP-CLI is installed)
Verify Fix Applied:
After updating, confirm the plugin version is 2.6.8 or higher in the WordPress plugins list. Test email template editing to ensure script tags are properly sanitized.
📡 Detection & Monitoring
Log Indicators:
- Unusual administrator activity editing email templates in WordPress logs.
- HTTP POST requests to plugin admin endpoints with script-like payloads in access logs.
Network Indicators:
- Outbound connections from customer browsers to unexpected domains after viewing transactional emails.
SIEM Query:
source="wordpress.log" AND "Email Customizer" AND ("update" OR "edit") AND ("script" OR "onerror" OR "javascript:")
🔗 References
- https://plugins.trac.wordpress.org/browser/email-customizer-for-woocommerce/tags/2.6.7/classes/inc/class-wecmf-general-template.php#L213
- https://plugins.trac.wordpress.org/browser/email-customizer-for-woocommerce/trunk/classes/inc/class-wecmf-general-template.php#L213
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c6927b4f-f47e-47fc-a5bf-b7fa42c31412?source=cve