Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-5142: The Simple Page Access Restriction plugin for WordPress is vulnerable to Cross-Site Request Forgery in all ver

26
Routine
MEDIUM 6.5UPGRADE

CVE-2025-5142 is a medium-severity flaw (CVSS 6.5) affecting simple page access restriction. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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, r

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.2% (top 86%)
CISA exploited listNo
WeaknessCWE-352
Published2025-05-30
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: pluginsandsnippets

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

pluginsandsnippets simple page access restriction UPGRADE
Affected: < 1.0.32
Fixed in: 1.0.32
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy simple-page-access-restriction || rpm -q simple-page-access-restriction || simple-page-access-restriction --version
2. UPGRADE to 1.0.32 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade simple-page-access-restriction
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade simple-page-access-restriction
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-5142?

simple page access restriction: upgrade to 1.0.32. Exact commands for each OS are on this page.

Is CVE-2025-5142 being exploited?

CVE-2025-5142 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-5142 affect?

CVE-2025-5142 affects simple page access restriction. Severity is medium (CVSS 6.5). 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

How urgent is CVE-2025-5142?

Priority 26/100. No elevated risk signals yet.

Software pages

WordPress vulnerabilities · PHP vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.