Restrict Role Login Security & Risk Analysis

wordpress.org/plugins/restrict-role-login

Allows administrators to restrict user login based on user roles.

10 active installs v1.0.0 PHP + WP 3.6.0+ Updated Unknown
areaauthenticationloginregisterrestrictrole
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Restrict Role Login Safe to Use in 2026?

Generally Safe

Score 100/100

Restrict Role Login has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs
Risk Assessment

The "restrict-role-login" plugin v1.0.0 exhibits a generally good security posture based on the provided static analysis. There are no identified dangerous functions, raw SQL queries, file operations, or external HTTP requests, indicating a clean codebase in these areas. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the plugin's attack surface. Furthermore, the vulnerability history shows no known CVEs, which is a strong positive indicator for the plugin's past security performance.

However, a significant concern arises from the output escaping analysis. 100% of the identified outputs are not properly escaped. This means that any data displayed to users by this plugin could potentially be vulnerable to Cross-Site Scripting (XSS) attacks if it originates from an untrusted source or contains malicious code. While the static analysis did not identify any taint flows, the lack of output escaping on all outputs presents a tangible risk that needs to be addressed. The absence of capability checks and nonce checks on any potential entry points, though the attack surface is currently zero, means that if new entry points are added in the future, they might lack these crucial security measures.

In conclusion, the plugin has a strong foundation with minimal attack surface and no historical vulnerabilities. The primary weakness is the universal lack of output escaping, which creates a significant XSS risk. Addressing this would dramatically improve the plugin's security. The absence of explicit capability and nonce checks on current entry points (which are zero) is a minor concern, as it suggests a potential oversight in the development process for security best practices, but not an immediate exploit given the current lack of entry points.

Key Concerns

  • 100% of outputs are not properly escaped
Vulnerabilities
None known

Restrict Role Login Security Vulnerabilities

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

Restrict Role Login Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
5
0 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

0% escaped5 total outputs
Attack Surface

Restrict Role Login Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
filterwp_authenticate_userrestrict-role-login.php:80
actionadmin_menurestrict-role-login.php:93
actionadmin_initrestrict-role-login.php:94
Maintenance & Trust

Restrict Role Login Maintenance & Trust

Maintenance Signals

WordPress version tested4.5.33
Last updatedUnknown
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Restrict Role Login Developer Profile

konnektiv

10 plugins · 70 total installs

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

How We Detect Restrict Role Login

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

Asset Fingerprints

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about Restrict Role Login