CVE-2025-5142

CVE-2025-5142 is a medium-severity vulnerability in Pluginsandsnippets Simple Page Access Restriction with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-352.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-5142?
CVE-2025-5142 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity high, and availability none.
Is CVE-2025-5142 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (9th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-5142?
CVE-2025-5142 affects Pluginsandsnippets Simple Page Access Restriction. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-5142?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-5142 have an EU (EUVD) identifier?
Yes. CVE-2025-5142 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-16481.
When was CVE-2025-5142 published?
CVE-2025-5142 was published on 2025-05-30 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Pluginsandsnippets Simple Page Access Restriction

All CVEs affecting Pluginsandsnippets Simple Page Access Restriction →

Other CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities

Browse all CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities →