Login Mandatory Pages Security & Risk Analysis

wordpress.org/plugins/login-mandatory-pages

Login Mandatory pages is a WordPress plugin that allows you to make pages accessible for only logged in users.

10 active installs v1.2 PHP + WP 4.0+ Updated Oct 4, 2017
control-pagesforce-loginlogin-pagelogin-pagesuser-access-control
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Login Mandatory Pages Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 8yr ago
Risk Assessment

The plugin "login-mandatory-pages" v1.2 exhibits a strong security posture based on the provided static analysis. The absence of any AJAX handlers, REST API routes, shortcodes, or cron events with unprotected entry points, coupled with the complete use of prepared statements for SQL queries, indicates a robust adherence to secure coding practices for these common attack vectors. The lack of dangerous functions, file operations, external HTTP requests, and critical or high-severity taint flows further reinforces this positive assessment.

However, a significant concern arises from the 50% of output operations that are not properly escaped. This leaves the plugin vulnerable to Cross-Site Scripting (XSS) attacks, where malicious scripts could be injected into the application through user-provided input that is then displayed without proper sanitization. Additionally, the complete absence of nonce and capability checks across all entry points, though currently with a zero attack surface, represents a potential future risk. If new functionalities were to be added that introduce such entry points, they would be inherently unprotected against CSRF and unauthorized actions.

The plugin's vulnerability history, showing zero known CVEs, is an excellent indicator of its security track record. This suggests a history of responsible development and maintenance. Despite the existing output escaping and missing authorization checks concerns, the current lack of exploitable history and zero attack surface at entry points makes the immediate risk relatively low. Nonetheless, addressing the unescaped output is crucial to prevent potential XSS vulnerabilities.

Key Concerns

  • Unescaped output detected
  • No nonce checks on entry points
  • No capability checks on entry points
Vulnerabilities
None known

Login Mandatory Pages Security Vulnerabilities

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

Login Mandatory Pages Code Analysis

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

Output Escaping

50% escaped10 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
login_mandatory_pages_save_settings (login-mandatory-pages.php:129)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Login Mandatory Pages Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_menulogin-mandatory-pages.php:24
actionadmin_initlogin-mandatory-pages.php:25
actionadmin_enqueue_scriptslogin-mandatory-pages.php:26
actionadmin_initlogin-mandatory-pages.php:27
filterthe_contentlogin-mandatory-pages.php:194
Maintenance & Trust

Login Mandatory Pages Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedOct 4, 2017
PHP min version
Downloads1K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

Login Mandatory Pages Developer Profile

dinesh224

1 plugin · 10 total installs

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

How We Detect Login Mandatory Pages

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/login-mandatory-pages/images/lmp.png/wp-content/plugins/login-mandatory-pages/css/ls.css

HTML / DOM Fingerprints

CSS Classes
lr_setting_forminner-wrapsectionbutton-section
Data Attributes
name="pages_for_lr[]"name="message_for_lr"name="button_link_for_lr"
FAQ

Frequently Asked Questions about Login Mandatory Pages