CVE-2025-7667: CWE-352 Cross-Site Request Forgery (CSRF) in josxha Restrict File Access
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.
AI Analysis
Technical Summary
CVE-2025-7667 is a CSRF vulnerability in the josxha Restrict File Access WordPress plugin affecting all versions up to 1.1.2. The issue arises from missing or incorrect nonce validation on the 'restrict-file-access' page, enabling unauthenticated attackers to craft requests that, when executed by an authenticated administrator, delete arbitrary files on the server. This can escalate to remote code execution if sensitive files like wp-config.php are deleted. The vulnerability has a CVSS v3.1 score of 8.1 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H), indicating network attack vector, low complexity, no privileges required, user interaction needed, unchanged scope, no confidentiality impact, but high integrity and availability impact.
Potential Impact
Successful exploitation allows unauthenticated attackers to delete arbitrary files on the server by tricking an administrator into executing a forged request. This can lead to remote code execution if critical files such as wp-config.php are deleted, severely compromising the affected WordPress site’s integrity and availability.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are currently available. Users should monitor the vendor's advisory for updates and apply any forthcoming official patches promptly. Until a fix is released, administrators should avoid interacting with untrusted links or requests related to the 'restrict-file-access' page to prevent CSRF exploitation.
CVE-2025-7667: CWE-352 Cross-Site Request Forgery (CSRF) in josxha Restrict File Access
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-7667 is a CSRF vulnerability in the josxha Restrict File Access WordPress plugin affecting all versions up to 1.1.2. The issue arises from missing or incorrect nonce validation on the 'restrict-file-access' page, enabling unauthenticated attackers to craft requests that, when executed by an authenticated administrator, delete arbitrary files on the server. This can escalate to remote code execution if sensitive files like wp-config.php are deleted. The vulnerability has a CVSS v3.1 score of 8.1 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H), indicating network attack vector, low complexity, no privileges required, user interaction needed, unchanged scope, no confidentiality impact, but high integrity and availability impact.
Potential Impact
Successful exploitation allows unauthenticated attackers to delete arbitrary files on the server by tricking an administrator into executing a forged request. This can lead to remote code execution if critical files such as wp-config.php are deleted, severely compromising the affected WordPress site’s integrity and availability.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are currently available. Users should monitor the vendor's advisory for updates and apply any forthcoming official patches promptly. Until a fix is released, administrators should avoid interacting with untrusted links or requests related to the 'restrict-file-access' page to prevent CSRF exploitation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-07-14T21:43:01.363Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68763bfda83201eaacce4b57
Added to database: 7/15/2025, 11:31:09 AM
Last enriched: 4/9/2026, 10:45:52 AM
Last updated: 5/8/2026, 6:13:36 PM
Views: 200
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.