Simple Page Access Restriction <= 1.0.31 - Cross-Site Request Forgery via Multiple Parameters

6.5
Cross-Site Request Forgery (CSRF)
CVE CVE-2025-5142
CVSS 6.5 (Medium)
Publicly Published May 29, 2025
Last Updated May 30, 2025
Researcher Jonas Benjamin Friedli

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.

References

Share

Vulnerability Details for Simple Page Access Restriction

Software Type Plugin
Software Slug simple-page-access-restriction (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.0.32, or a newer patched version
Affected Version
  • <= 1.0.31
Patched Version
  • 1.0.32

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation