WP Login Security 2 Security & Risk Analysis

wordpress.org/plugins/wp-login-security-2

Whitelist User IP addresses. If a user logs in from an unknown IP the plugin sends an email to the user and optionally the admin with a one-time key.

20 active installs v1.0.2 PHP + WP 3.0.1+ Updated Dec 19, 2012
adminauthenticationloginsecuritywhitelisting
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is WP Login Security 2 Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 13yr ago
Risk Assessment

The "wp-login-security-2" v1.0.2 plugin exhibits a mixed security posture. On the positive side, the static analysis reveals a very small attack surface with no AJAX handlers, REST API routes, shortcodes, or cron events detected. Furthermore, all SQL queries are executed using prepared statements, and there are no file operations or external HTTP requests, which are all excellent security practices. The absence of known CVEs and a clean vulnerability history also suggests a relatively stable and secure past for this plugin.

However, a significant concern arises from the static analysis indicating that 100% of the 6 detected output operations are not properly escaped. This presents a substantial risk of Cross-Site Scripting (XSS) vulnerabilities, where malicious scripts could be injected into the website through these unescaped outputs. The lack of nonce checks and capability checks, while not immediately indicative of a vulnerability given the limited attack surface, is a weakness that could be exploited if any new entry points were introduced or discovered.

In conclusion, while the plugin has a strong foundation in terms of its limited attack surface and secure database interactions, the pervasive issue of unescaped output is a critical flaw that needs immediate attention. The lack of historical vulnerabilities is a positive sign, but it does not mitigate the current risk posed by the unescaped outputs. Addressing the output escaping is paramount to improving the overall security of this plugin.

Key Concerns

  • 100% of outputs not properly escaped
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

WP Login Security 2 Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

WP Login Security 2 Release Timeline

v1.0.2Current
v1.0.1
v1.0.0
Code Analysis
Analyzed Mar 16, 2026

WP Login Security 2 Code Analysis

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

Output Escaping

0% escaped6 total outputs
Attack Surface

WP Login Security 2 Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 10
actionadmin_headwp-login-security-2.php:40
actioninitwp-login-security-2.php:41
actionlogin_formwp-login-security-2.php:42
actionadmin_initwp-login-security-2.php:43
actionadmin_menuwp-login-security-2.php:44
actionlogin_form_unknownipwp-login-security-2.php:47
actionlogin_form_registeripwp-login-security-2.php:48
actionlogin_form_invalidkeywp-login-security-2.php:49
actionadmin_initwpls2-options-page.php:24
actionadmin_menuwpls2-options-page.php:25
Maintenance & Trust

WP Login Security 2 Maintenance & Trust

Maintenance Signals

WordPress version tested3.5.2
Last updatedDec 19, 2012
PHP min version
Downloads8K

Community Trust

Rating88/100
Number of ratings5
Active installs20
Developer Profile

WP Login Security 2 Developer Profile

andersvinther2

1 plugin · 20 total installs

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

How We Detect WP Login Security 2

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-login-security-2/wpls2-options-page.php

HTML / DOM Fingerprints

JS Globals
wpls2_options
FAQ

Frequently Asked Questions about WP Login Security 2