
Page and Post Restriction Security & Risk Analysis
wordpress.org/plugins/page-and-post-restrictionRestrict content access for WordPress (WP) | Restrict pages/posts in WP based on user roles and login status to protect content
Is Page and Post Restriction Safe to Use in 2026?
Generally Safe
Score 98/100Page and Post Restriction has a strong security track record. Known vulnerabilities have been patched promptly.
The "page-and-post-restriction" v1.3.9 plugin presents a mixed security posture. On one hand, it demonstrates good practices by using prepared statements for all SQL queries and having a high percentage of properly escaped outputs. The absence of direct file operations and the presence of numerous nonce checks are also positive indicators. However, several concerns warrant attention.
The static analysis revealed a significant number of flows with unsanitized paths (9 out of 12 analyzed), including one identified as high severity. This suggests potential weaknesses in how user-supplied input is handled, which could lead to unexpected behavior or security vulnerabilities if exploited. The presence of an external HTTP request without explicit detail on its sanitization also introduces a potential risk. While the plugin has no direct unauthenticated entry points from AJAX or REST API in this version, the high rate of unsanitized paths is a strong signal of underlying risk.
The plugin's vulnerability history is a significant concern. With a total of 3 known CVEs, all categorized as medium severity, and common types including Exposure of Sensitive Information, Protection Mechanism Failure, and Cross-site Scripting, this plugin has a past of introducing vulnerabilities. Although currently unpatched CVEs are zero, the recurring nature of these vulnerability types suggests a pattern of insecure coding practices related to input handling and output sanitization, despite some good practices observed in the current static analysis.
Key Concerns
- High severity taint flow detected
- High number of unsanitized paths
- 3 medium severity CVEs in history
- External HTTP request without clear sanitization
Page and Post Restriction Security Vulnerabilities
CVEs by Year
Severity Breakdown
3 total CVEs
Page Restriction WordPress (WP) – Protect WP Pages/Post <= 1.3.6 - Unauthenticated Content Restriction Bypass to Sensitive Information Exposure
Page Restriction WordPress (WP) – Protect WP Pages/Post <= 1.3.4 - Protection Mechanism Bypass
Page Restriction WordPress <= 1.2.6 - Admin+ Stored Cross-Site Scripting
Page and Post Restriction Code Analysis
Output Escaping
Data Flow Analysis
Page and Post Restriction Attack Surface
Shortcodes 1
WordPress Hooks 16
Maintenance & Trust
Page and Post Restriction Maintenance & Trust
Maintenance Signals
Community Trust
Page and Post Restriction Alternatives
Restrict – membership, site, content and user access restrictions for WordPress
restricted-content
Restrict content easily to logged in users, members with a specific role or user capability, to it's author, Tickera, Easy Digital Downloads or W …
Agy verification
agy-verification
Agy Verification is a modern and responsive solution for any kind of verification.
All-in-One Content Restriction – Conditional Content Visibility & Access Control for WordPress
content-restriction
Take control of your content. Restrict any post, page, or custom content based on user roles, login state, or custom rules. No code needed.
Restrict Content for WP Bakery
restrict-content-for-wp-bakery
An extension for Visual Composer that restrict the content or block based on user role and display message for restricted role as well.
PrivateContent Free
privatecontent-free
Restrict pages, posts, and menus by user level or login status. Create private areas for members or logged-in users with ease and FREE!
Page and Post Restriction Developer Profile
38 plugins · 83K total installs
How We Detect Page and Post Restriction
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/page-and-post-restriction/includes/css/page-restriction.css/wp-content/plugins/page-and-post-restriction/includes/css/page-restriction-admin.css/wp-content/plugins/page-and-post-restriction/includes/js/page-restriction.js/wp-content/plugins/page-and-post-restriction/includes/js/page-restriction.jspage-and-post-restriction/includes/css/page-restriction.css?ver=page-and-post-restriction/includes/css/page-restriction-admin.css?ver=page-and-post-restriction/includes/js/page-restriction.js?ver=HTML / DOM Fingerprints
papr-admin-pagepapr-custom-role-sectionpapr-feedback-modalpapr-restriction-settingspapr-role-selector<!-- This is a restricted page/post. --><!-- Page and Post Restriction Settings --><!-- Feedback Form Start -->data-papr-restricted-pagedata-papr-restricted-postpapr_restrict_content/wp/v2/pages/wp/v2/posts/wp/v2/comments[restrict_content]