CVE-2025-7667CWE-352

Restrict File Access <= 1.1.2 - Cross-Site Request Forgery to Arbitrary File Deletion

High · published July 15, 2025

CVSS v3.1
8.1
EPSS
0%
Percentile
21.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00302 · 21.8th percentile
Weakness
CWE-352 · Cross-Site Request Forgery (CSRF)
Published
2025-07-15T11:20Z
EPSS history
Timeline
  • 15 JUL 11:20Z
    Restrict File Access <= 1.1.2 - Cross-Site Request Forgery to Arbitrary File Deletion
    cvelistv5