Require Login Security & Risk Analysis

wordpress.org/plugins/wp-require-login

A plugin for Wordpress that redirects users to the login page whenever they try to visit any page/post/etc on the blog.

500 active installs v1.0.1 PHP + WP 3.3.0+ Updated Mar 28, 2015
adminloginprivate
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Require Login Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 11yr ago
Risk Assessment

The wp-require-login plugin v1.0.1 presents a generally strong security posture based on the provided static analysis and vulnerability history. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the attack surface, and importantly, there are no unprotected entry points. The code signals also indicate good practices, with no dangerous functions identified and all SQL queries utilizing prepared statements. There are no recorded vulnerabilities or CVEs for this plugin, which suggests a history of secure development and maintenance.

However, a notable concern arises from the output escaping. With 3 total outputs and 0% properly escaped, there is a clear risk of Cross-Site Scripting (XSS) vulnerabilities. Any dynamic data outputted by the plugin without proper sanitization could be exploited by attackers to inject malicious scripts. While the taint analysis showed no issues, this is likely due to the limited scope of the analysis or the absence of complex data flows. The lack of nonce checks and capability checks, while not explicitly flagged as issues in this specific analysis, could become vulnerabilities if the plugin were to introduce any AJAX or administrative actions in the future.

In conclusion, wp-require-login is largely well-developed with minimal attack vectors and a clean vulnerability history. The primary weakness identified is the lack of output escaping, which requires immediate attention. If this issue is addressed, the plugin would demonstrate a very good security profile.

Key Concerns

  • Unescaped output found
Vulnerabilities
None known

Require Login Security Vulnerabilities

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

Require Login Code Analysis

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

Output Escaping

0% escaped3 total outputs
Attack Surface

Require Login Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_noticeswp-require-login.php:46
actionadmin_menuwp-require-login.php:47
actionadmin_initwp-require-login.php:69
actionget_headerwp-require-login.php:111
Maintenance & Trust

Require Login Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedMar 28, 2015
PHP min version
Downloads26K

Community Trust

Rating100/100
Number of ratings7
Active installs500
Developer Profile

Require Login Developer Profile

richard4339

1 plugin · 500 total installs

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

How We Detect Require Login

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
rl_require_login
FAQ

Frequently Asked Questions about Require Login