CVE Catalog

CVE-2026-12000

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.66%

48th percentile - higher than 48% of all known CVEs

Summary

The Page and Post Restriction plugin for WordPress up to version 1.4.0 is vulnerable to Sensitive Information Exposure 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>. The plugin's REST guards source their restricted-ID list exclusively from per-page metabox options, ignoring the global toggles 'Make all Pages Private' and 'Make all Posts Private'. Unauthenticated attackers can read the full rendered content of every published page and post, bypassing the frontend security boundary.

Risk Assessment

An attacker can access content that should be private, compromising data confidentiality and potentially exposing sensitive information. This can also lead to non-compliance with data protection regulations.

Recommendation

Update the Page and Post Restriction plugin to a patched version that considers global toggles. Restrict access to REST API and implement additional security measures.

Related vulnerabilities

Original NVD description (English source)

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().

Vulnerability data from NVD (NIST) · CISA KEV · EPSS