CSRF in Josxha Restrict File Access

CVE-2025-7667

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.

Vulnerability class: CSRF (Cross-Site Request Forgery)

EPSS: 0.003 (19.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-7667?
CVE-2025-7667 is a high-severity vulnerability in Josxha Restrict File Access, classified under Cross-Site Request Forgery (CSRF). CVSS score: 8.1/10. Published 2025-07-15.
How severe is CVE-2025-7667?
High severity. CVSS v3 base score is 8.1 out of 10.