# CVE-2025-5142: Simple Page Access Restriction <= 1.0.31 - Cross-Site Request Forgery via Multiple Parameters

- Severity: Medium 6.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-02)
- Published: 2025-05-30T09:22:06.854Z
- Modified: 2026-06-17T09:47:19.003Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- pluginsandsnippets Simple Page Access Restriction: up to 1.0.31
- pluginsandsnippets simple_page_access_restriction: before 1.0.32

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/657e2a4d-7e10-495d-8352-1adc0cb89e83?source=cve> (third-party-advisory)
- <https://wordpress.org/plugins/simple-page-access-restriction/#developers> (product, release-notes)
- <https://plugins.trac.wordpress.org/browser/simple-page-access-restriction/tags/1.0.31/includes/admin/settings/settings.php#L16> (product)
- <https://plugins.trac.wordpress.org/changeset/3300680/> (patch)

## Sources

- CVE List: [CVE-2025-5142](https://www.cve.org/CVERecord?id=CVE-2025-5142), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-5142](https://nvd.nist.gov/vuln/detail/CVE-2025-5142), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5142 · Whole record: https://cve.day/CVE-2025-5142.json · Rebuilt by cve.day 2026-11-25T22:58:58.589Z
