CVE-2025-13975
📋 TL;DR
This stored XSS vulnerability in the Contact Form 7 with ChatWork WordPress plugin allows authenticated administrators to inject malicious scripts that execute when other users view the plugin settings page. It affects WordPress multi-site installations and single sites where the unfiltered_html capability is disabled. Attackers could steal session cookies, redirect users, or perform actions on behalf of victims.
💻 Affected Systems
- Contact Form 7 with ChatWork 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
Administrator account compromise leading to full site takeover, data theft, malware distribution to visitors, or complete website defacement.
Likely Case
Session hijacking of other administrators, credential theft, or unauthorized actions performed in the WordPress admin area.
If Mitigated
Limited impact due to requiring administrator access and specific WordPress configurations; isolated to admin interface.
🎯 Exploit Status
Requires administrator-level WordPress access; exploitation involves injecting scripts into api_token or roomid settings fields.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.1.1 or later
Vendor Advisory: https://wordpress.org/plugins/contact-form-7-with-chatwork/#developers
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Contact Form 7 with ChatWork'. 4. Click 'Update Now' if available, or delete and reinstall latest version. 5. Verify version is 1.1.1 or higher.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily disable the Contact Form 7 with ChatWork plugin until patched
wp plugin deactivate contact-form-7-with-chatwork
Enable unfiltered_html for admins
allFor single-site installations only: enable unfiltered_html capability for administrators
add_filter('user_has_cap', function($allcaps) { $allcaps['unfiltered_html'] = true; return $allcaps; });
🧯 If You Can't Patch
- Remove administrator access from untrusted users and implement principle of least privilege
- Implement web application firewall (WAF) rules to block XSS payloads in admin requests
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins → Contact Form 7 with ChatWork version
Check Version:
wp plugin get contact-form-7-with-chatwork --field=version
Verify Fix Applied:
Confirm plugin version is 1.1.1 or higher in WordPress admin plugins page
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to wp-admin/admin.php?page=wpcf7-chatwork with script tags in parameters
- Multiple administrator logins from unusual locations
Network Indicators:
- HTTP requests containing <script> tags in api_token or roomid parameters to admin endpoints
SIEM Query:
source="wordpress" AND (uri_path="/wp-admin/admin.php" AND query_string="*page=wpcf7-chatwork*" AND (request_body="*api_token*<script*" OR request_body="*roomid*<script*"))
🔗 References
- https://plugins.trac.wordpress.org/browser/contact-form-7-with-chatwork/tags/1.1.0/contact-form-7-chatwork.php#L80
- https://plugins.trac.wordpress.org/browser/contact-form-7-with-chatwork/tags/1.1.0/contact-form-7-chatwork.php#L89
- https://plugins.trac.wordpress.org/browser/contact-form-7-with-chatwork/trunk/contact-form-7-chatwork.php#L80
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f5d8616b-8757-426e-a4ae-bd851d35e296?source=cve