HTML Mode Locker Security & Risk Analysis

wordpress.org/plugins/html-mode-locker

Adds and option to lock post editor in HTML Mode on selected post types on per-item basis.

200 active installs v0.5 PHP + WP 3.0+ Updated Jan 13, 2014
editorhtmlhtml-mode
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is HTML Mode Locker Safe to Use in 2026?

Generally Safe

Score 85/100

HTML Mode Locker has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 12yr ago
Risk Assessment

The "html-mode-locker" plugin v0.5 presents a generally good security posture with several strong practices in place. The absence of known CVEs and a lack of critical or high-severity taint flows are significant positives, suggesting the plugin has a clean history and the code may be robust against common attack vectors. The plugin also demonstrates good internal security by utilizing prepared statements for all SQL queries and implementing nonce and capability checks for its entry points, ensuring proper authorization and preventing common Cross-Site Request Forgery (CSRF) issues. The attack surface is also minimal, with only one AJAX handler and no exposed REST API routes, shortcodes, or cron events.

However, a notable concern arises from the static analysis indicating that 0% of output is properly escaped. This means that any data being displayed back to the user, especially if it originates from user input or external sources, is not being sanitized, creating a high risk for Cross-Site Scripting (XSS) vulnerabilities. While there are no direct evidence of exploitable taint flows in the provided data, the lack of output escaping creates a fertile ground for XSS attacks to be chained with other potential weaknesses that might not be immediately apparent. The vulnerability history is clean, but this does not negate the immediate risk posed by unescaped output.

In conclusion, the plugin has a strong foundation in terms of authorization, SQL handling, and a small attack surface. Nevertheless, the complete lack of output escaping is a critical security oversight that significantly elevates the risk profile. While the plugin's history is reassuring, this one weakness is substantial and requires immediate attention to prevent potential XSS attacks.

Key Concerns

  • Unescaped output (0% escaped)
Vulnerabilities
None known

HTML Mode Locker Security Vulnerabilities

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

HTML Mode Locker Code Analysis

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

Output Escaping

0% escaped10 total outputs
Attack Surface

HTML Mode Locker Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_html_mode_lock_set_ignorehtml-mode-locker.php:157
WordPress Hooks 7
actionadmin_enqueue_scriptsClass_Pointers.php:9
actionadmin_print_footer_scriptsClass_Pointers.php:24
actionadmin_headClass_Pointers.php:25
actionadmin_inithtml-mode-locker.php:17
actionadd_meta_boxeshtml-mode-locker.php:54
actionsave_posthtml-mode-locker.php:56
filteruser_can_richedithtml-mode-locker.php:134
Maintenance & Trust

HTML Mode Locker Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedJan 13, 2014
PHP min version
Downloads8K

Community Trust

Rating84/100
Number of ratings6
Active installs200
Developer Profile

HTML Mode Locker Developer Profile

Max Chirkov

2 plugins · 300 total installs

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

How We Detect HTML Mode Locker

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/html-mode-locker/css/pointer.css/wp-content/plugins/html-mode-locker/js/pointers.js
Script Paths
/wp-content/plugins/html-mode-locker/js/pointers.js
Version Parameters
html-mode-locker/css/pointer.css?ver=html-mode-locker/js/pointers.js?ver=

HTML / DOM Fingerprints

CSS Classes
html-mode-locker-settings
HTML Comments
<!-- HTML Mode Locker metabox will appear on selected post types editor screen. --><!-- About This Tour --><!-- Plugin Updates -->
Data Attributes
post_typeid="html-mode-lock"name="html_mode_lock"id="html-mode-locker-settings"data-pointer
JS Globals
window.html_mode_lock_pointers
FAQ

Frequently Asked Questions about HTML Mode Locker