# CVE-2025-7667: Restrict File Access <= 1.1.2 - Cross-Site Request Forgery to Arbitrary File Deletion

- Severity: High 8.1 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-07-15T11:20:04.307Z
- Modified: 2026-06-17T10:05:26.407Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- josxha Restrict File Access: up to 1.1.2

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/e1105717-134b-48cc-960d-f78437c06793?source=cve>
- <https://plugins.trac.wordpress.org/browser/restrict-file-access/trunk/admin/admin.php#L78>

## Sources

- CVE List: [CVE-2025-7667](https://www.cve.org/CVERecord?id=CVE-2025-7667), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-7667](https://nvd.nist.gov/vuln/detail/CVE-2025-7667), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-7667 · Whole record: https://cve.day/CVE-2025-7667.json · Rebuilt by cve.day 2026-11-25T22:59:01.260Z
