SecurityContext

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

IdName
CWE-352Cross-Site Request Forgery

References

Same in every row:

  • Source: nvd
UrlTags
https://plugins.trac.wordpress.org/changeset/3300680/Patch
https://www.wordfence.com/threat-intel/vulnerabilities/id/657e2a4d-7e10-495d-8352-1adc0cb89e83?source=cveThird Party Advisory
https://plugins.trac.wordpress.org/browser/simple-page-access-restriction/tags/1.0.31/includes/admin/settings/settings.php#L16Product
https://wordpress.org/plugins/simple-page-access-restriction/#developersProduct, Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
pluginsandsnippets:simple_page_access_restriction< 1.0.32nonvd/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