Radar sectionsDatabase
Check my site
WordPress plugin

Page and Post Restriction <= 1.6.1 — Unauthenticated Authentication Bypass via REST API Nonce Bypass via Cookie Re-Authentication

CVE-2026-118194Published · Updated

Action summary

Affected: ≤1.6.1Update to 1.6.2 or newer

All remediation steps
Severity
Medium6.5
CVSS
6.5
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:N Privileges required
None
UI:R User interaction
Required
S:U Scope
Unchanged
C:H Confidentiality
High
I:N Integrity
None
A:N Availability
None
Weakness
CWE-287 Improper Authentication
Required access
No account needed
Exploit prediction (EPSS)
0.3% chance in 30 days28th percentile
CISA KEV
Not listed

Am I affected?

Page and Post Restriction page-and-post-restriction

  1. Affected≤ 1.6.1
  2. Patched in1.6.2

Update to 1.6.2 or newer.

You are affected if you run ≤ 1.6.1. Version 1.6.2 and later are not affected by this issue.

  • Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Page and Post Restriction.
  • No admin access? Run a passive check of your site. It reads public files only.
  • No account is needed to exploit this. Treat any exposed site on an affected version as at risk.

What to do

  1. Update to version 1.6.2, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  3. Watch Page and Post Restriction to get an email when the next vulnerability is published.

Advisory

Source description from Wordfence Intelligence, credited to Wordfence PRISM.

The Page and Post Restriction plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 1.6.1 This is due to the `papr_restrict_page_post_rest_api()` function, hooked on `rest_pre_dispatch`, re-authenticating the current user from the `wordpress_logged_in` cookie via `wp_set_current_user()` for any GET or HEAD REST request where the current user is 0, without verifying a REST nonce — silently undoing the nonce-zeroing that WordPress core's `rest_cookie_check_errors()` performs on cookie-authenticated requests that lack an `X-WP-Nonce` header or `_wpnonce` parameter. Combined with WordPress's permissive REST CORS behavior — which echoes the request `Origin` and sets `Access-Control-Allow-Credentials: true` — this allows an unauthenticated attacker to read REST API GET responses as a logged-in victim, exposing role-restricted and private post/page content, victim user profile data via `/wp-json/wp/v2/users/me`, and comments the victim is authorized to see. This requires the attacker to lure a logged-in user into visiting an attacker-controlled page that issues credentialed cross-origin `fetch` requests against the target site's REST API; no nonce or further victim interaction beyond the page visit is needed.

Exploits & references

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

More in Page and Post Restriction

All 7
More vulnerabilities in Page and Post Restriction
SeverityVulnerabilityCVEPublished
Medium5.3Missing Authorization
≤1.6.1Update to 1.6.2
CVE-2026-54852
Medium5.3Missing Authorization
≤1.6.0Update to 1.6.1
CVE-2026-114696
High7.5Unauthenticated Missing Authorization to Sensitive Information Exposure via REST API
≤1.4.1Update to 1.4.2
CVE-2026-12000
Medium5.3Unauthenticated Content Restriction Bypass to Sensitive Information Exposure
≤1.3.6Update to 1.3.7
CVE-2024-11297
Medium5.3Protection Mechanism Bypass
≤1.3.4Update to 1.3.5
CVE-2024-0681

Timeline

  1. CVE published

    Severity medium, CVSS 6.5

  2. Record last updated

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
CVE® identifiers
Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
EPSS
Exploit Prediction Scoring System by FIRST.org.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?