CVE-2025-5142
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.
Affected WordPress components
-
Simple Page Access Restriction Plugin · simple-page-access-restrictionUp to and including 1.0.31View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- pluginsandsnippets Simple Page Access Restriction — Up to and including 1.0.31
- pluginsandsnippets simple_page_access_restriction — Before 1.0.32
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/simple-page-access-restriction/tags/1.0.31/includes/admin/settings/settings.php#L16 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3300680/ Patch
- wordpress.org https://wordpress.org/plugins/simple-page-access-restriction/#developers Product, Release Notes
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/657e2a4d-7e10-495d-8352-1adc0cb89e83?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record