CVE-2026-118194
Last modified
CVE-2026-118194 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| cyberlord92 | Page and Post Restriction | <= 1.6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-118194?
How severe is CVE-2026-118194?
How do I fix CVE-2026-118194?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-118178A remote RSS feed could use the itunes:new-feed-url or newLo…
- CVE-2026-118179Clicking a news: or snews: link that referenced a message-ID…
- CVE-2026-11818The WPCafe – Restaurant Menu, Online Food Ordering & Table B…5.4
- CVE-2026-118180When logging in to a Matrix account, Thunderbird used the ho…
- CVE-2026-11819Module: plugins/modules/keyring_info.py CVSS 3.1: 5.5 MEDI…5.5
- CVE-2026-118192The JoomSport – for Sports: Team & League, Football, Hockey …6.5
- CVE-2026-1182GitLab has remediated an issue in GitLab CE/EE affecting all…4.3
- CVE-2026-11820A flaw was found in the community.general Ansible collection…6.5
- CVE-2026-118205The Essential Addons for Elementor – Popular Elementor Templ…7.4
- CVE-2026-11821The Eventin – Event Calendar, Event Registration, Tickets & …5.4
- CVE-2026-11822SQLite before 3.53.2 contains an out-of-bounds read vulnerab…5.5
- CVE-2026-11823The BookingPress Appointment Booking Pro plugin for WordPres…7.5
Are you affected by CVE-2026-118194?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
