CVE-2025-5142: Simple Page Access Restriction WordPress plugin - Cross-Site Request Forgery
- Cve: CVE-2025-5142
- Name: Simple Page Access Restriction WordPress plugin - Cross-Site Request Forgery
- 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.
- Impact: Attackers can manipulate access settings, cause data loss, or perform URL redirection by tricking site administrators.
- Remediation: Update to the latest version beyond 1.0.31.
- Vulnerability type: cross_site_request_forgery
- Vulnerability impact: broken_access_control, denial_of_service, open_redirect
- Requirement type: user_interaction
- Requirements: Attacker needs site administrator to perform an action like clicking a link
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Epss score: 0.0023
- Epss percentile: 0.13823
- Assignee: [email protected]
- Published at: 2025-05-30T10:15:25Z
- Age in days: 543
- Modified at: 2026-06-17T09:47:19Z
- Patch available: yes
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-5142
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-352 | Cross-Site Request Forgery |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pluginsandsnippets:simple_page_access_restriction | < 1.0.32 | no | nvd | /v1/products/pluginsandsnippets/simple_page_access_restriction |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts