Formula04 Site Lock Security & Risk Analysis

wordpress.org/plugins/formula04-site-lock

Put a sitewide password on your site. Users must enter password before viewing content.

10 active installs v1.5.4 PHP + WP 3.5.0+ Updated Oct 19, 2017
lockpasswordpassword-protectrestrict-accesssecurity
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Formula04 Site Lock Safe to Use in 2026?

Generally Safe

Score 85/100

Formula04 Site Lock 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 "formula04-site-lock" plugin v1.5.4 exhibits a generally good security posture based on the provided static analysis. The complete absence of SQL queries that do not use prepared statements, file operations, and external HTTP requests are positive indicators. Furthermore, the lack of known vulnerabilities in its history suggests a history of responsible development or a lack of past targeting. However, there are significant concerns that temper this otherwise positive outlook.

The primary area of concern lies in the output escaping. With a very low percentage of properly escaped outputs, there is a substantial risk of Cross-Site Scripting (XSS) vulnerabilities. This is further amplified by the taint analysis revealing flows with unsanitized paths, even though they are not classified as critical or high severity. The presence of a shortcode and the absence of any capability checks or nonce checks on it represent a potential attack vector if user-supplied data is processed within that shortcode without proper sanitization and authorization.

While the plugin has no recorded vulnerabilities, the identified code signals, particularly the low output escaping rate and unsanitized paths in taint flows, indicate potential weaknesses. The lack of explicit authorization checks on the shortcode is a critical oversight. Therefore, while the plugin avoids common pitfalls like raw SQL or dangerous functions, the risk of XSS and unauthorized execution due to insufficient input validation and output escaping cannot be ignored.

Key Concerns

  • Low output escaping rate
  • Unsanitized paths in taint flows
  • Shortcode without capability checks
  • Shortcode without nonce checks
Vulnerabilities
None known

Formula04 Site Lock Security Vulnerabilities

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

Formula04 Site Lock Code Analysis

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

Output Escaping

21% escaped19 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
site_bouncer (form04_sitelock.php:287)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Formula04 Site Lock Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[f04sitelockform] form04_sitelock.php:192
WordPress Hooks 12
actionadmin_enqueue_scriptsform04_sitelock.php:67
actionadmin_headform04_sitelock.php:75
actionadmin_footerform04_sitelock.php:86
actionplugins_loadedform04_sitelock.php:104
actionwp_enqueue_scriptsform04_sitelock.php:116
actionadmin_initform04_sitelock.php:128
actionadmin_menuform04_sitelock.php:138
actionadmin_enqueue_scriptsform04_sitelock.php:152
filterheartbeat_settingsform04_sitelock.php:154
filterheartbeat_receivedform04_sitelock.php:156
actiontemplate_redirectform04_sitelock.php:180
actionadmin_print_footer_scriptsform04_sitelock.php:1267
Maintenance & Trust

Formula04 Site Lock Maintenance & Trust

Maintenance Signals

WordPress version tested4.8.28
Last updatedOct 19, 2017
PHP min version
Downloads4K

Community Trust

Rating60/100
Number of ratings6
Active installs10
Developer Profile

Formula04 Site Lock Developer Profile

Verb_Form04

3 plugins · 30 total installs

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

How We Detect Formula04 Site Lock

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/formula04-site-lock/css/form04_sitelock.css/wp-content/plugins/formula04-site-lock/js/form04_sitelock.js/wp-content/plugins/formula04-site-lock/js/form04_sitelock_admin.js
Script Paths
/wp-content/plugins/formula04-site-lock/js/form04_sitelock.js/wp-content/plugins/formula04-site-lock/js/form04_sitelock_admin.js
Version Parameters
formula04-site-lock/css/form04_sitelock.css?ver=formula04-site-lock/js/form04_sitelock.js?ver=formula04-site-lock/js/form04_sitelock_admin.js?ver=

HTML / DOM Fingerprints

CSS Classes
form04_sitelock_adminfield_value_rowone_whitelist_optionwhite_listed_selection_optons
Shortcode Output
[f04sitelockform]
FAQ

Frequently Asked Questions about Formula04 Site Lock