Code Widget Security & Risk Analysis

wordpress.org/plugins/code-widget

Code widget help to add Short Code, PHP Code, HTML, and Simple Text in widget.

4K active installs v1.0.15 PHP 7.0+ WP 4.0+ Updated Jun 11, 2022
codehtmlphpshort-codewidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Code Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Code Widget 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 code-widget plugin v1.0.15 demonstrates a strong security posture with several good practices evident. It boasts a limited attack surface with only one AJAX handler, and importantly, this handler appears to be protected by authentication checks. The absence of dangerous functions, raw SQL queries, file operations, and external HTTP requests further contributes to its security. The high percentage of properly escaped output and the presence of nonce and capability checks are also positive indicators. The plugin's vulnerability history is clean, with no recorded CVEs, suggesting a commitment to secure coding or perhaps a lack of widespread security scrutiny. However, the analysis did not include taint analysis flows, which could reveal subtle vulnerabilities. While the current static analysis reveals no immediate critical risks, the lack of taint analysis means potential issues related to data sanitization and context could be present.

Key Concerns

  • 88% of output escaped, 12% unescaped
  • External HTTP request not detailed
  • Taint analysis flows not analyzed
Vulnerabilities
None known

Code Widget Security Vulnerabilities

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

Code Widget Code Analysis

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

Output Escaping

88% escaped32 total outputs
Attack Surface

Code Widget Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_cw_deactivation_feedbackclass-code-widget.php:56
WordPress Hooks 5
actionadmin_initclass-code-widget.php:54
actionadmin_initclass-code-widget.php:55
actionadmin_noticesclass-code-widget.php:57
actionadmin_noticesclass-code-widget.php:265
actionwidgets_initclass-code-widget.php:441
Maintenance & Trust

Code Widget Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.0
Last updatedJun 11, 2022
PHP min version7.0
Downloads60K

Community Trust

Rating98/100
Number of ratings35
Active installs4K
Developer Profile

Code Widget Developer Profile

Sharaz Shahid

5 plugins · 5K total installs

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

How We Detect Code Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/code-widget/lib/solbox-plugin-deactivation-survey/css/feedback-modal.css/wp-content/plugins/code-widget/lib/solbox-plugin-deactivation-survey/js/feedback-modal.js
Version Parameters
code-widget-style?ver=code-widget-admin-script?ver=

HTML / DOM Fingerprints

CSS Classes
code-widget
Data Attributes
data-codewidget-field
JS Globals
codewidget_params
REST Endpoints
/wp-json/codewidget/v1/settings
FAQ

Frequently Asked Questions about Code Widget