CVE-2025-5142

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

Published May 30, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from missing nonce validation and capability checks in the settings save handler, enabling unauthenticated attackers to alter protection settings for all post types, force public or private status on new content, delete all plugin data upon removal, or launch URL redirection attacks. These actions compromise the integrity of the site's content and can lead to unintended disclosure or malicious redirects, affecting all users who view the manipulated content. The weakness corresponds to CWE‑352, a classic CSRF flaw.

Affected Systems

The affected product is the Simple Page Access Restriction plugin for WordPress, in all versions up to and including 1.0.31. Administrators running a WordPress installation with the plugin installed, particularly those with the plugin's settings interface, are at risk. No other WordPress core versions were listed as affected.

Risk and Exploitability

The CVSS base score of 6.5 indicates a moderate impact, and the very low EPSS score (<1%) suggests that exploitation is not widespread, but the risk remains due to the ability to change site‑wide settings and force content visibility. The lack of listing in CISA KEV means no known mass exploitation, yet it should still be addressed promptly. Attackers can exploit by directing an administrator to a crafted request to the plugin’s settings endpoint, bypassing nonce checks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Simple Page Access Restriction plugin to the latest version (1.0.32 or newer) which adds the missing nonce validation and capability checks.
  • If an immediate update is not possible, temporarily disable the plugin until a patch is applied or restrict access to the plugin settings page to trusted administrators through role‑based access control.
  • Review the site for any anomalous setting changes or redirects and revert to safe configurations if necessary.

Generated by OpenCVE AI on April 21, 2026 at 20:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-16481 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.
History
Type Values Removed Values Added
First Time appeared Pluginsandsnippets
Pluginsandsnippets simple Page Access Restriction
CPEs cpe:2.3:a:pluginsandsnippets:simple_page_access_restriction:*:*:*:*:*:wordpress:*:*
Vendors & Products Pluginsandsnippets
Pluginsandsnippets simple Page Access Restriction
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Simple Page Access Restriction <= 1.0.31 - Cross-Site Request Forgery via Multiple Parameters
Weaknesses CWE-352
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:57 PM
Reserved
May 23, 2025, 9:35 PM
Status
Analyzed
Published
May 30, 2025, 10:15 AM
Modified
Jun 17, 2026, 9:47 AM