Access Pages by Role for Admin Security & Risk Analysis

wordpress.org/plugins/access-pages-by-role-for-admin

The plugin allows the WordPress site administrator to easily control access to pages based on the user's role.

0 active installs v1.0 PHP 5.4+ WP 4.6+ Updated May 21, 2020
access-controlcategoriescustom-post-typeshide-pagesuser-roles
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Access Pages by Role for Admin Safe to Use in 2026?

Generally Safe

Score 85/100

Access Pages by Role for Admin has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 5yr ago
Risk Assessment

The plugin "access-pages-by-role-for-admin" v1.0 exhibits a generally strong security posture with a notable absence of known vulnerabilities and a clean record regarding critical taint flows. The code analysis indicates a good practice of using prepared statements for all SQL queries and a significant number of capability checks, suggesting an effort to secure administrative functions. Nonce checks are present, further bolstering its defenses. However, the presence of the deprecated `create_function` is a concern, as it can lead to security vulnerabilities if not handled with extreme care. Additionally, a low percentage of properly escaped output suggests a potential for cross-site scripting (XSS) vulnerabilities, especially if user-supplied data is not sufficiently sanitized before being displayed.

The plugin's zero known CVEs and lack of historical vulnerabilities are positive indicators of its maintainability and the developers' focus on security. This suggests that the plugin has likely undergone some level of scrutiny or has not yet been a target for widespread exploitation. The lack of an attack surface through common entry points like AJAX, REST API, shortcodes, and cron events is also a significant strength, limiting external interaction points.

In conclusion, while the plugin benefits from a clean vulnerability history and robust SQL handling, the use of `create_function` and the low output escaping rate present potential risks that should be addressed. The current version appears to have a limited attack surface, but the identified code quality issues warrant attention to prevent future security weaknesses.

Key Concerns

  • Use of deprecated and potentially unsafe function
  • Low percentage of properly escaped output
Vulnerabilities
None known

Access Pages by Role for Admin Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

Access Pages by Role for Admin Code Analysis

Dangerous Functions
1
Raw SQL Queries
0
0 prepared
Unescaped Output
22
9 escaped
Nonce Checks
2
Capability Checks
7
File Operations
0
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

create_function$callback = create_function( '', 'echo "' . str_replace( '"', '\"', $section['desc'] ) . '";' );includes\class.settings-api.php:112

Output Escaping

29% escaped31 total outputs
Attack Surface

Access Pages by Role for Admin Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 14
actionplugins_loadedaccess-pages-by-role-for-admin.php:44
actioninitaccess-pages-by-role-for-admin.php:47
actionadd_meta_boxesincludes\apbrfa-functions.php:20
actionsave_postincludes\apbrfa-functions.php:76
filtermanage_posts_columnsincludes\apbrfa-functions.php:84
filtermanage_pages_columnsincludes\apbrfa-functions.php:85
actionmanage_posts_custom_columnincludes\apbrfa-functions.php:109
actionmanage_pages_custom_columnincludes\apbrfa-functions.php:110
actionadmin_initincludes\apbrfa-functions.php:133
actionedit_termsincludes\apbrfa-functions.php:187
filtertemplate_redirectincludes\apbrfa-functions.php:317
actionadmin_initincludes\apbrfa-settings.php:17
actionadmin_menuincludes\apbrfa-settings.php:18
actionadmin_enqueue_scriptsincludes\class.settings-api.php:28
Maintenance & Trust

Access Pages by Role for Admin Maintenance & Trust

Maintenance Signals

WordPress version tested5.4.19
Last updatedMay 21, 2020
PHP min version5.4
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Access Pages by Role for Admin Developer Profile

Aleksandr

4 plugins · 10 total installs

89
trust score
Avg Security Score
93/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Access Pages by Role for Admin

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/access-pages-by-role-for-admin/assets/css/bootstrap-select.min.css/wp-content/plugins/access-pages-by-role-for-admin/assets/css/bootstrap-select.min.js/wp-content/plugins/access-pages-by-role-for-admin/assets/css/jquery.dataTables.min.css/wp-content/plugins/access-pages-by-role-for-admin/assets/css/jquery.dataTables.min.js/wp-content/plugins/access-pages-by-role-for-admin/assets/css/select2.min.css/wp-content/plugins/access-pages-by-role-for-admin/assets/css/select2.min.js/wp-content/plugins/access-pages-by-role-for-admin/assets/css/style.css/wp-content/plugins/access-pages-by-role-for-admin/assets/js/custom.js
Script Paths
/wp-content/plugins/access-pages-by-role-for-admin/assets/js/bootstrap-select.min.js/wp-content/plugins/access-pages-by-role-for-admin/assets/js/jquery.dataTables.min.js/wp-content/plugins/access-pages-by-role-for-admin/assets/js/select2.min.js/wp-content/plugins/access-pages-by-role-for-admin/assets/js/custom.js
Version Parameters
access-pages-by-role-for-admin/assets/css/bootstrap-select.min.css?ver=access-pages-by-role-for-admin/assets/js/bootstrap-select.min.js?ver=access-pages-by-role-for-admin/assets/css/jquery.dataTables.min.css?ver=access-pages-by-role-for-admin/assets/js/jquery.dataTables.min.js?ver=access-pages-by-role-for-admin/assets/css/select2.min.css?ver=access-pages-by-role-for-admin/assets/js/select2.min.js?ver=access-pages-by-role-for-admin/assets/css/style.css?ver=access-pages-by-role-for-admin/assets/js/custom.js?ver=

HTML / DOM Fingerprints

CSS Classes
apbrfa-access-is-closedapbrfa-access-restricted
Data Attributes
data-apbrfa-access-is-closed
JS Globals
apbrfa_access_pages_list
FAQ

Frequently Asked Questions about Access Pages by Role for Admin