What’s Vulnerable › Vulnerabilities
CVE-2025-7667: Restrict File Access <= 1.1.2 - Cross-Site Request Forgery to Arbitrary File Deletion
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-15 · updated 2026-06-17
- Weakness: CWE-352
Description
The Restrict File Access plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.1.2. This is due to missing or incorrect nonce validation on the 'restrict-file-access' page. This makes it possible for unauthenticated attackers to to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php), via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Affected products
- josxha Restrict File Access: through 1.1.2
References
- https://plugins.trac.wordpress.org/browser/restrict-file-access/trunk/admin/admin.php#L78
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e1105717-134b-48cc-960d-f78437c06793?source=cve
Get alerted when CVE-2025-7667 or the next vulnerability affects your stack