Byte's PHP Code Widget Security & Risk Analysis

wordpress.org/plugins/byte-php-code

Mix HTML and PHP in a widget with mobile support.

10 active installs v0.4 PHP + WP 3.4+ Updated Nov 12, 2013
evalexecutephpwidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Byte's PHP Code Widget Safe to Use in 2026?

Generally Safe

Score 85/100

Byte's PHP Code Widget 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 plugin "byte-php-code" v0.4 exhibits a generally positive security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the potential attack surface. Furthermore, the code's adherence to using prepared statements for all SQL queries and the presence of capability checks are strong indicators of good security practices. The lack of any recorded vulnerabilities in its history further bolsters this assessment, suggesting a mature and well-maintained codebase.

However, a notable concern arises from the output escaping. With 23 total outputs and only 17% properly escaped, there's a significant risk of cross-site scripting (XSS) vulnerabilities. This means that user-supplied or dynamic data displayed on the frontend is highly likely to be rendered without proper sanitization, potentially allowing attackers to inject malicious scripts. The presence of file operations also warrants attention, though without further context on their nature, it's difficult to assign a specific risk level.

In conclusion, while the plugin demonstrates commendable practices in limiting its attack surface and securing database interactions, the poor output escaping is a critical weakness that could be exploited. The absence of known vulnerabilities is a positive sign, but the identified flaw in output handling necessitates immediate attention. The plugin's overall security is compromised by this single, yet significant, oversight.

Key Concerns

  • Low percentage of properly escaped output
Vulnerabilities
None known

Byte's PHP Code Widget Security Vulnerabilities

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

Byte's PHP Code Widget Code Analysis

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

Output Escaping

17% escaped23 total outputs
Attack Surface

Byte's PHP Code Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionwidgets_initbytes-php-code.php:174
filterthe_contentbytes-php-code.php:229
Maintenance & Trust

Byte's PHP Code Widget Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedNov 12, 2013
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

Byte's PHP Code Widget Developer Profile

ByteEnable

1 plugin · 10 total installs

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

How We Detect Byte's PHP 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/byte-php-code/inc/adsense-support.php

HTML / DOM Fingerprints

Data Attributes
id="wp_vxBEyz_code_widget"name="wp_vxBEyz_code_widget"id="wp_vxBEyz_code_widget_domain"
FAQ

Frequently Asked Questions about Byte's PHP Code Widget