User Last Login Security & Risk Analysis

wordpress.org/plugins/user-last-login

Displays login datetime in manage users screen and sorts users by last login time.

600 active installs v1.2 PHP + WP 4.0+ Updated Feb 27, 2017
commentslastloginspamuser
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is User Last Login Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 9yr ago
Risk Assessment

The 'user-last-login' plugin v1.2 presents a mixed security posture. On the positive side, it has no known vulnerabilities, no dangerous functions, uses prepared statements for all SQL queries, and avoids file operations and external HTTP requests. The attack surface is also minimal with only one shortcode, and importantly, all identified entry points appear to be protected by authentication checks (though not explicitly detailed). Taint analysis shows no critical or high-severity issues, indicating a lack of detectable unsanitized data flows.

However, there are significant concerns regarding output escaping, with only 29% of outputs being properly escaped. This could lead to Cross-Site Scripting (XSS) vulnerabilities if user-controlled data is directly outputted without sanitization. The absence of nonce checks is also a notable weakness, as these are crucial for preventing Cross-Site Request Forgery (CSRF) attacks, especially for features that modify data or perform actions. The plugin also has zero capability checks, meaning there's no verification of user roles or permissions for its functionalities, which could be a risk if the shortcode or any implicit actions can be leveraged by unauthorized users.

Given the clean vulnerability history, the plugin appears to have been developed with some security awareness. However, the deficiencies in output escaping and the complete lack of nonce and capability checks introduce exploitable weaknesses. The limited attack surface and good SQL practices mitigate some of the risk, but the potential for XSS and CSRF warrants attention. Overall, while not critically vulnerable based on the provided static analysis and history, the plugin is not as robustly secured as it could be and has clear areas for improvement.

Key Concerns

  • Output escaping is insufficient (29% proper)
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

User Last Login Security Vulnerabilities

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

User Last Login Code Analysis

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

Output Escaping

29% escaped14 total outputs
Attack Surface

User Last Login Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[user_last_login] user-last-login.php:33
WordPress Hooks 8
actionwidgets_inituser-last-login-widget.php:70
actionuser_registeruser-last-login.php:19
actionwp_loginuser-last-login.php:21
filtermanage_users_columnsuser-last-login.php:23
actionmanage_users_custom_columnuser-last-login.php:25
filtermanage_users_sortable_columnsuser-last-login.php:27
filterrequestuser-last-login.php:29
actionpre_user_queryuser-last-login.php:31
Maintenance & Trust

User Last Login Maintenance & Trust

Maintenance Signals

WordPress version tested4.7.32
Last updatedFeb 27, 2017
PHP min version
Downloads11K

Community Trust

Rating100/100
Number of ratings9
Active installs600
Developer Profile

User Last Login Developer Profile

raj_prince

1 plugin · 600 total installs

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

How We Detect User Last Login

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
user_last_login_widget
Data Attributes
user_last_login
Shortcode Output
[user_last_login]
FAQ

Frequently Asked Questions about User Last Login