Plugins · page-and-post-restriction · data as of 2026-11-04
Is Page and Post Restriction safe? Known vulnerabilities and latest version
- Latest version
- 1.6.2
- Last updated
- 2026-10-29
- Active installs
- 1,000+
- Known issues on record
- 6
- Unpatched in latest
- 0
- Tested up to WP
- 7.1.4 · PHP 5.6+
Restrict content access for WordPress (WP) | Restrict pages/posts in WP based on user roles and login status to protect content — by miniOrange
What to do
- Update to the latest version (1.6.2). Anything older than 1.6.2 has at least one known issue listed below. Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- If you ran a vulnerable version and something looks off (spam pages, strange admins, redirects), run the free scan.
With WP-CLI: wp plugin get page-and-post-restriction --field=version shows what you run; wp plugin update page-and-post-restriction updates it.
Check your version
Known vulnerabilities
6 on record, newest first. “Affected” is the version range the source gives; “fixed in” is the version the source names, or (marked *) the first wordpress.org release after the last affected version.
medium 6.5 CVE-2026-118194 · published 2026-10-30
Authentication bypass in Page and Post Restriction (1.6.1 and older)
- Affected
- 1.6.1 and older
- Fixed in
- 1.6.2 *
- Access needed (per CVSS)
- No login needed; someone on the site has to click a link or open a page
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
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.
NVD CVE-2026-118194Wordfence advisoryCode change (fix)Plugin source
medium 5.3 CVE-2026-54852 · published 2026-10-29
Missing authorization check in Page and Post Restriction (1.6.1 and older)
- Affected
- 1.6.1 and older
- Fixed in
- 1.6.2
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Missing Authorization vulnerability in miniOrange Page Restriction WordPress (WP) page-and-post-restriction allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Page Restriction WordPress (WP): from n/a through 1.6.1.
medium 5.3 CVE-2026-114696 · published 2026-10-22
Missing authorization check in Page and Post Restriction (1.6.0 and older)
- Affected
- 1.6.0 and older
- Fixed in
- 1.6.1
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Patchstack
Details from the advisory
Missing Authorization vulnerability in miniOrange Page Restriction WordPress (WP) page-and-post-restriction allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Page Restriction WordPress (WP): from n/a through 1.6.0.
high 7.5 CVE-2026-12000 · published 2026-08-05
Information disclosure in Page and Post Restriction (1.4.1 and older)
- Affected
- 1.4.1 and older
- Fixed in
- 1.4.2 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Page and Post Restriction plugin for WordPress is vulnerable to Sensitive Information Exposure in versions up to and including 1.4.0 via the WordPress core REST endpoints /wp-json/wp/v2/pages, /wp-json/wp/v2/pages/<id>, /wp-json/wp/v2/posts, and /wp-json/wp/v2/posts/<id>. This is due to the plugin's REST guards — papr_restrict_page_post_rest_api() and the the_posts filter registered by papr_filter_posts() — sourcing their restricted-ID list exclusively from papr_get_restricted_posts_id(), which only reads the per-page metabox options papr_allowed_redirect_for_pages and papr_allowed_redirect_for_posts and never consults the two global toggles papr_access_for_only_loggedin and papr_access_for_only_loggedin_posts that the plugin's own UI describes as 'Make all Pages Private' / 'Make all Posts Private'. This makes it possible for unauthenticated attackers to read the full rendered content of every published page and post on sites configured with the documented global toggles, bypassing the security boundary enforced on the frontend by papr_restrict_logged_in_users().
NVD CVE-2026-12000Wordfence advisoryCode change (fix)Plugin source
high 7.5 CVE-2024-11297 · published 2024-12-20
Information disclosure in Page and Post Restriction (1.3.6 and older)
- Affected
- 1.3.6 and older
- Fixed in
- 1.3.7 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by NVD
Details from the advisory
The Page Restriction WordPress (WP) – Protect WP Pages/Post plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 1.3.6 via the WordPress core search feature. This makes it possible for unauthenticated attackers to extract sensitive data from posts that have been restricted to higher-level roles such as administrator.
NVD CVE-2024-11297Wordfence advisoryCode change (fix)wordpress.org
medium 5.3 CVE-2024-0681 · published 2024-03-13
Information disclosure in Page and Post Restriction (1.3.4 and older)
- Affected
- 1.3.4 and older
- Fixed in
- 1.3.5 *
- Access needed (per CVSS)
- No login needed
- Range from
- CVE record (the advisory publisher) · score by Wordfence
Details from the advisory
The Page Restriction WordPress (WP) – Protect WP Pages/Post plugin for WordPress is vulnerable to information disclosure in all versions up to, and including, 1.3.4. This is due to the plugin not properly restricting access to pages via the REST API when a page has been made private. This makes it possible for unauthenticated attackers to view protected pages. The vendor has decided that they will not implement REST API protection on posts and pages and the restrictions will only apply to the front-end of the site. The vendors solution was to add notices throughout the dashboard and recommends installing the WordPress REST API Authentication plugin for REST API coverage.
Recent activity
- 2026-10-29 — latest release on wordpress.org (1.6.2).
- 2026-10-30 — Authentication bypass disclosed (CVE-2026-118194), fixed in 1.6.2.
- 2026-10-29 — Missing authorization check disclosed (CVE-2026-54852), fixed in 1.6.2.
- 2026-10-22 — Missing authorization check disclosed (CVE-2026-114696), fixed in 1.6.1.
Get an email when Page and Post Restriction has a new vulnerability
Free. We check the CVE feeds every day and email you only when a new issue for Page and Post Restriction (page-and-post-restriction) is published or a fix ships. Unsubscribe in one click.
Browse vulnerabilities
- Published this week
- Unpatched in the latest version
- By type of vulnerability
- Plugins by miniOrange (14 tracked)
Types found in this plugin: Sensitive data exposure (3) · Missing authorization (2) · Authentication bypass (1)
Where this data comes from
- Version, last update, installs: wordpress.org/plugins/page-and-post-restriction (Plugins API), fetched 2026-11-04.
- Vulnerabilities: NIST National Vulnerability Database (NVD), checked 2026-11-04. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Each record links to its CVE page and to the original advisory (Wordfence, Patchstack or WPScan) where there is one. We only list a CVE here when its references or its advisory name this exact plugin, so a few real issues may be missing; none should be about a different plugin. Spot an error? Email Daniel.
Badge for your site or docs (states facts with a date, not a verdict):
<a href="https://laskyr.com/plugins/page-and-post-restriction"><img src="https://laskyr.com/plugins/page-and-post-restriction/badge.svg" alt="Page and Post Restriction vulnerability status"></a>