BMI Widget Security & Risk Analysis

wordpress.org/plugins/bmi-widget

Adds a widget that displays a BMI calculator with standard or metric measurements and options for styling.

10 active installs v1.0 PHP + WP 3.0+ Updated Feb 9, 2015
bmibmi-calculatorbody-mass-index
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is BMI Widget Safe to Use in 2026?

Generally Safe

Score 85/100

BMI Widget has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The BMI Widget plugin v1.0 presents a generally good security posture based on the static analysis, exhibiting no immediately apparent vulnerabilities from dangerous functions, SQL injection risks, or file operations. The complete absence of cron events, shortcodes, and protected REST API/AJAX handlers significantly limits its attack surface, which is a strong indicator of secure coding practices. The fact that all SQL queries utilize prepared statements is also a commendable practice that mitigates a common vector for compromise.

However, a notable concern arises from the low percentage of properly escaped output (31%). This suggests that a significant portion of user-provided or dynamically generated content displayed by the widget might be vulnerable to Cross-Site Scripting (XSS) attacks. While the taint analysis reported no issues, this is likely due to the limited scope of flows analyzed or the absence of specific test cases designed to trigger them. The plugin also has no recorded vulnerability history, which is positive but does not guarantee future security, especially in light of the unescaped output.

In conclusion, the BMI Widget plugin has a strong foundation with its minimal attack surface and secure handling of database operations. The primary weakness lies in insufficient output sanitization, which could lead to XSS vulnerabilities. The lack of historical vulnerabilities is a good sign, but the identified code-level weakness requires attention to ensure a robust security profile.

Key Concerns

  • Low percentage of properly escaped output (31%)
Vulnerabilities
None known

BMI Widget Security Vulnerabilities

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

BMI Widget Code Analysis

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

Output Escaping

31% escaped39 total outputs
Attack Surface

BMI Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionwidgets_initbmi-widget.php:12
actionwp_enqueue_scriptsbmi-widget.php:36
Maintenance & Trust

BMI Widget Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedFeb 9, 2015
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

BMI Widget Developer Profile

swaincreates

2 plugins · 20 total installs

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

How We Detect BMI Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/bmi-widget/bmi-widget-style.css
Version Parameters
bmi-widget/bmi-widget-style.css?ver=

HTML / DOM Fingerprints

CSS Classes
bmi-widgetbmi-widget-titlebmi-form-wrapper
HTML Comments
<!-- <p>Your BMI: <span id="user_bmi"></span></p> -->
Data Attributes
id="height"id="weight"id="user_bmi"id="bmi_submit"class="bmi-widget"class="bmi-widget-title"+3 more
JS Globals
bmi_widgetBMI_Widget
FAQ

Frequently Asked Questions about BMI Widget