Lock My WooCommerce Security & Risk Analysis

wordpress.org/plugins/lock-my-woocommerce

Hide your WooCommerce store, while keeping the rest of your site public.

10 active installs v1.0.1 PHP + WP 4.6+ Updated Jun 26, 2019
private-woocommerceprotectsecure-woocommercewoocommercewp
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Lock My WooCommerce Safe to Use in 2026?

Generally Safe

Score 85/100

Lock My WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 6yr ago
Risk Assessment

The "lock-my-woocommerce" plugin v1.0.1 exhibits a mixed security posture. On the positive side, it has a remarkably small attack surface with no reported AJAX handlers, REST API routes, shortcodes, or cron events. Furthermore, all SQL queries utilize prepared statements, and there are no file operations or external HTTP requests, which are excellent practices for limiting potential attack vectors. The lack of known historical vulnerabilities and unpatched CVEs suggests a history of responsible development or low visibility.

However, significant concerns arise from the static analysis of the code. The complete absence of output escaping (0% properly escaped) across four identified outputs is a critical weakness. This indicates a high risk of Cross-Site Scripting (XSS) vulnerabilities, where user-supplied data could be injected and executed within the user's browser. Additionally, while no "dangerous functions" were flagged, the taint analysis revealed two flows with unsanitized paths, even though they weren't categorized as critical or high severity. The lack of nonce checks and capability checks, while seemingly mitigated by the zero entry points without auth checks, leaves the plugin vulnerable if new entry points are introduced or if existing ones are implicitly used without proper authorization checks.

In conclusion, while the plugin's minimal attack surface and secure SQL handling are commendable, the critical lack of output escaping and the presence of unsanitized paths represent substantial security risks that require immediate attention. The absence of historical vulnerabilities is a positive indicator but does not negate the present code deficiencies. Addressing the output escaping and taint analysis findings should be a priority to improve the plugin's overall security.

Key Concerns

  • 0% of outputs properly escaped
  • 2 flows with unsanitized paths
  • 0 capability checks
  • 0 nonce checks
Vulnerabilities
None known

Lock My WooCommerce Security Vulnerabilities

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

Lock My WooCommerce Code Analysis

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

Output Escaping

0% escaped4 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
do_unlock_process (includes\class-cp-lock-wc-core.php:32)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Lock My WooCommerce Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 10
actioninitincludes\class-cp-lock-wc-core.php:13
filterwoocommerce_settings_tabs_arrayincludes\class-cp-lock-wc-settings.php:9
actionwoocommerce_settings_tabs_cp_lock_wcincludes\class-cp-lock-wc-settings.php:10
actionwoocommerce_update_options_cp_lock_wcincludes\class-cp-lock-wc-settings.php:11
actionwoocommerce_admin_field_advertisementincludes\class-cp-lock-wc-settings.php:12
actioninitincludes\class-cp-lock-wc-template.php:11
filtertemplate_includeincludes\class-cp-lock-wc-template.php:17
filterdocument_title_partsincludes\class-cp-lock-wc-template.php:18
filterwoocommerce_get_breadcrumbincludes\class-cp-lock-wc-template.php:19
filtersidebars_widgetsincludes\class-cp-lock-wc-template.php:20
Maintenance & Trust

Lock My WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested5.1.22
Last updatedJun 26, 2019
PHP min version
Downloads1K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Lock My WooCommerce Developer Profile

capripio

3 plugins · 30 total installs

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

How We Detect Lock My WooCommerce

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/lock-my-woocommerce/assets/css/cp-lock-wc-admin.css/wp-content/plugins/lock-my-woocommerce/assets/css/cp-lock-wc-frontend.css/wp-content/plugins/lock-my-woocommerce/assets/js/cp-lock-wc-admin.js/wp-content/plugins/lock-my-woocommerce/assets/js/cp-lock-wc-frontend.js
Script Paths
/wp-content/plugins/lock-my-woocommerce/assets/js/cp-lock-wc-admin.js/wp-content/plugins/lock-my-woocommerce/assets/js/cp-lock-wc-frontend.js
Version Parameters
lock-my-woocommerce/assets/css/cp-lock-wc-admin.css?ver=lock-my-woocommerce/assets/css/cp-lock-wc-frontend.css?ver=lock-my-woocommerce/assets/js/cp-lock-wc-admin.js?ver=lock-my-woocommerce/assets/js/cp-lock-wc-frontend.js?ver=

HTML / DOM Fingerprints

CSS Classes
cp-lock-wc-message
HTML Comments
<!-- CP Lock WC Notice --><!-- CP Lock WC Unlock Form -->
Data Attributes
data-cp-lock-wc-message
JS Globals
cpLockWcAdminParams
FAQ

Frequently Asked Questions about Lock My WooCommerce