CVE-2025-5142: CWE-352 Cross-Site Request Forgery (CSRF) in pluginsandsnippets Simple Page Access Restriction
The Simple Page Access Restriction plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.31. This is due to missing nonce validation and capability checks in the settings save handler in the settings.php script. This makes it possible for unauthenticated attackers to (1) enable or disable access protection on all post types or taxonomies, (2) force every new page/post to be public or private, regardless of meta-box settings, (3) cause a silent wipe of all plugin data when it’s later removed, or (4) to conduct URL redirection attacks 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-5142 is a CSRF vulnerability in the Simple Page Access Restriction plugin for WordPress, affecting all versions up to and including 1.0.31. The root cause is the lack of nonce validation and capability checks in the settings.php script's save handler, which manages plugin settings. Exploitation requires tricking a site administrator into executing a forged request, enabling attackers to alter access restrictions on posts and taxonomies, force public or private status on new content, wipe plugin data silently upon plugin removal, or perform URL redirection attacks. The vulnerability is rated medium severity with a CVSS 3.1 score of 6.5 (Attack Vector: Network, Attack Complexity: Low, Privileges Required: None, User Interaction: Required, Scope: Unchanged, Confidentiality Impact: None, Integrity Impact: High, Availability Impact: None). No known exploits in the wild or vendor patches are documented.
Potential Impact
An attacker can cause unauthorized changes to the plugin's access control settings, potentially compromising content visibility and integrity. They can also cause a silent deletion of plugin data upon removal and perform URL redirection attacks, which could facilitate further malicious activity. The confidentiality of data is not impacted, but the integrity of site content and plugin configuration is at risk. Availability is not affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, site administrators should avoid clicking on suspicious links or performing plugin settings changes from untrusted sources to reduce the risk of CSRF exploitation. Monitoring for updates from the plugin vendor or WordPress security advisories is recommended.
CVE-2025-5142: CWE-352 Cross-Site Request Forgery (CSRF) in pluginsandsnippets Simple Page Access Restriction
Description
The Simple Page Access Restriction plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.31. This is due to missing nonce validation and capability checks in the settings save handler in the settings.php script. This makes it possible for unauthenticated attackers to (1) enable or disable access protection on all post types or taxonomies, (2) force every new page/post to be public or private, regardless of meta-box settings, (3) cause a silent wipe of all plugin data when it’s later removed, or (4) to conduct URL redirection attacks 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-5142 is a CSRF vulnerability in the Simple Page Access Restriction plugin for WordPress, affecting all versions up to and including 1.0.31. The root cause is the lack of nonce validation and capability checks in the settings.php script's save handler, which manages plugin settings. Exploitation requires tricking a site administrator into executing a forged request, enabling attackers to alter access restrictions on posts and taxonomies, force public or private status on new content, wipe plugin data silently upon plugin removal, or perform URL redirection attacks. The vulnerability is rated medium severity with a CVSS 3.1 score of 6.5 (Attack Vector: Network, Attack Complexity: Low, Privileges Required: None, User Interaction: Required, Scope: Unchanged, Confidentiality Impact: None, Integrity Impact: High, Availability Impact: None). No known exploits in the wild or vendor patches are documented.
Potential Impact
An attacker can cause unauthorized changes to the plugin's access control settings, potentially compromising content visibility and integrity. They can also cause a silent deletion of plugin data upon removal and perform URL redirection attacks, which could facilitate further malicious activity. The confidentiality of data is not impacted, but the integrity of site content and plugin configuration is at risk. Availability is not affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, site administrators should avoid clicking on suspicious links or performing plugin settings changes from untrusted sources to reduce the risk of CSRF exploitation. Monitoring for updates from the plugin vendor or WordPress security advisories is recommended.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-23T21:35:47.581Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68397e09182aa0cae2a8d42a
Added to database: 5/30/2025, 9:44:41 AM
Last enriched: 4/9/2026, 5:32:02 PM
Last updated: 5/8/2026, 9:02:12 PM
Views: 113
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.