Skip to content

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

HighCVSS 8.1 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
PHPWordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
josxha Restrict File Access <= 1.1.2 after 1.1.2 Fixed
wordpress restrict-file-access(WordPress) <= 1.1.2 after 1.1.2 Fixed

Affected products

ProductAffected versionsFixed in
josxha Restrict File Access <= 1.1.2 No fix listed
wordpress restrict-file-access(WordPress) <= 1.1.2 No fix listed

References