HTML代码优化工具 Security & Risk Analysis

wordpress.org/plugins/clear-html-tags

HTML代码优化工具(Clear HTML Tags)是一款站长实用的WordPress文章编辑辅助插件,可以帮助站长快速实现删除HTML代码不需要的常见HTML标签及标签属性,常用的代码格式优化。

200 active installs v1.1.2 PHP 5.3.3+ WP 5.5+ Updated Jun 1, 2022
htmlhtml%e6%a0%87%e7%ad%be%e6%96%87%e6%9c%ac%e6%a0%bc%e5%bc%8f%e5%8c%96%e6%a0%b7%e5%bc%8f%e4%bb%a3%e7%a0%81%e6%a0%bc%e5%bc%8f%e5%8c%96
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is HTML代码优化工具 Safe to Use in 2026?

Generally Safe

Score 85/100

HTML代码优化工具 has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The clear-html-tags v1.1.2 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of dangerous functions, file operations, external HTTP requests, and SQL queries not using prepared statements are significant strengths. The plugin also appears to have a well-defined, albeit small, attack surface with only one AJAX handler, which benefits from a capability check, preventing direct unauthorized access. The taint analysis revealing no critical or high severity flows with unsanitized paths is also a positive indicator.

However, a notable concern is the low percentage (26%) of properly escaped output. With 27 total outputs, this means a significant number of them are likely unescaped, potentially opening the door to Cross-Site Scripting (XSS) vulnerabilities if user-supplied data is directly outputted. While there are no recorded vulnerabilities in its history, this lack of historical issues could be due to the limited attack surface or simply good fortune, rather than a guarantee of future security. The absence of nonce checks on the single AJAX handler, while protected by a capability check, is also a minor weakness in defense-in-depth.

In conclusion, the plugin demonstrates good practices in several critical security areas. The primary area for improvement and attention is the consistent and proper escaping of all output. The absence of historical vulnerabilities is a positive sign, but the potential for XSS due to unescaped output remains the most significant risk identified.

Key Concerns

  • Low percentage of properly escaped output
  • Missing nonce checks on AJAX handler
Vulnerabilities
None known

HTML代码优化工具 Security Vulnerabilities

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

HTML代码优化工具 Code Analysis

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

Output Escaping

26% escaped27 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
ajax_cht (classes\admin.class.php:202)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

HTML代码优化工具 Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_wb_chtclasses\admin.class.php:55
WordPress Hooks 8
actionadmin_menuclasses\admin.class.php:39
actionadmin_enqueue_scriptsclasses\admin.class.php:42
filterplugin_action_linksclasses\admin.class.php:44
actionadmin_initclasses\admin.class.php:46
filterplugin_row_metaclasses\admin.class.php:48
actionadmin_head-post.phpclasses\admin.class.php:50
actionadmin_head-post-new.phpclasses\admin.class.php:51
actionmedia_buttonsclasses\admin.class.php:53
Maintenance & Trust

HTML代码优化工具 Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedJun 1, 2022
PHP min version5.3.3
Downloads7K

Community Trust

Rating100/100
Number of ratings2
Active installs200
Developer Profile

HTML代码优化工具 Developer Profile

wbolt.com

11 plugins · 17K total installs

76
trust score
Avg Security Score
95/100
Avg Patch Time
202 days
View full developer profile
Detection Fingerprints

How We Detect HTML代码优化工具

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/clear-html-tags/assets/wbp_admin.css/wp-content/plugins/clear-html-tags/assets/wbui/wbui.js/wp-content/plugins/clear-html-tags/assets/wbp_admin.js/wp-content/plugins/clear-html-tags/assets/vue.min.js/wp-content/plugins/clear-html-tags/assets/wbp_setting.js/wp-content/plugins/clear-html-tags/assets/wbp_setting.css
Script Paths
/wp-content/plugins/clear-html-tags/assets/wbp_admin.js/wp-content/plugins/clear-html-tags/assets/wbui/wbui.js/wp-content/plugins/clear-html-tags/assets/vue.min.js/wp-content/plugins/clear-html-tags/assets/wbp_setting.js
Version Parameters
/wp-content/plugins/clear-html-tags/assets/wbp_admin.css?ver=/wp-content/plugins/clear-html-tags/assets/wbui/wbui.js?ver=/wp-content/plugins/clear-html-tags/assets/wbp_admin.js?ver=/wp-content/plugins/clear-html-tags/assets/vue.min.js?ver=/wp-content/plugins/clear-html-tags/assets/wbp_setting.js?ver=/wp-content/plugins/clear-html-tags/assets/wbp_setting.css?ver=

HTML / DOM Fingerprints

Data Attributes
id="wb-cls-tag-btn"
JS Globals
var wbcht_cnf=var _pd_code='cht-setting'cnf_cht=opt_cht=
FAQ

Frequently Asked Questions about HTML代码优化工具