CSRF in Pluginsandsnippets Simple Page Access Restriction
CVE-2025-5142
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
EPSS: 0.002 (9.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@wordfence.com (Third Party Advisory)
- security@wordfence.com (Product, Release Notes)
- security@wordfence.com (Product)
- security@wordfence.com (Patch)
Frequently asked questions
- What is CVE-2025-5142?
- CVE-2025-5142 is a medium-severity vulnerability in Pluginsandsnippets Simple Page Access Restriction, classified under Cross-Site Request Forgery (CSRF). CVSS score: 6.5/10. Published 2025-05-30.
- How severe is CVE-2025-5142?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2025-5142 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.