Business Hours Indicator Security & Risk Analysis

wordpress.org/plugins/business-hours-indicator

Display opening hours and if you're currently open/closed, with countdown to next opening. Show or hide content only when open/closed & more!

8K active installs v2.4.5 PHP 5.6+ WP 3.7+ Updated Oct 11, 2025
business-hourscurrently-openopen-indicationopening-hoursopening-times
100
A · Safe
CVEs total1
Unpatched0
Last CVEAug 2, 2021
Safety Verdict

Is Business Hours Indicator Safe to Use in 2026?

Generally Safe

Score 100/100

Business Hours Indicator has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Aug 2, 2021Updated 5mo ago
Risk Assessment

The 'business-hours-indicator' v2.4.5 plugin exhibits a generally sound security posture based on the static analysis. The complete absence of identified AJAX handlers, REST API routes, shortcodes, and cron events suggests a minimal attack surface, which is a positive indicator. Furthermore, the code's use of prepared statements for all SQL queries and the lack of file operations or external HTTP requests are strong security practices. However, a significant concern arises from the output escaping analysis, where only 26% of outputs are properly escaped. This leaves a substantial portion of user-generated or dynamic content vulnerable to injection attacks.

The vulnerability history reveals a past medium-severity Cross-site Scripting (XSS) vulnerability in 2021, which has since been patched. While there are no currently unpatched vulnerabilities, the presence of past XSS issues, coupled with the low percentage of properly escaped outputs, points to a recurring potential risk. The lack of nonce and capability checks across all entry points, though the entry points are currently zero, is also a potential weakness if the plugin were to be expanded in the future. Overall, the plugin has strengths in its limited attack surface and secure database practices, but the insufficient output escaping represents a clear and present danger that needs immediate attention.

Key Concerns

  • Low percentage of properly escaped outputs
  • Missing capability checks on entry points
  • Past medium severity XSS vulnerability
Vulnerabilities
1

Business Hours Indicator Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2021-24593medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Business Hours Indicator <= 2.3.4 - Authenticated Stored Cross-Site Scripting

Aug 2, 2021 Patched in 2.3.5 (904d)
Code Analysis
Analyzed Mar 16, 2026

Business Hours Indicator Code Analysis

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

Output Escaping

26% escaped54 total outputs
Attack Surface

Business Hours Indicator Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 14
actionadmin_initcontrollers\class-admin-controller.php:27
actioninitcontrollers\class-block-controller.php:26
filterallowed_block_types_allcontrollers\class-block-controller.php:27
actioninitcontrollers\class-shortcode-controller.php:32
actionwidgets_initcontrollers\class-widgets-controller.php:34
actionwidgets_initcontrollers\class-widgets-controller.php:35
actionwidgets_initcontrollers\class-widgets-controller.php:36
actionwidgets_initcontrollers\class-widgets-controller.php:37
filterwidget_bhi_widget_isclosed_show_titlecontrollers\class-widgets-controller.php:57
filterwidget_bhi_widget_isopen_show_titlecontrollers\class-widgets-controller.php:82
actionadmin_menucore\class-admin.php:24
actionadmin_enqueue_scriptscore\class-admin.php:26
actionadmin_enqueue_scriptscore\class-admin.php:27
actionadmin_initcore\class-admin.php:28
Maintenance & Trust

Business Hours Indicator Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedOct 11, 2025
PHP min version5.6
Downloads211K

Community Trust

Rating98/100
Number of ratings60
Active installs8K
Developer Profile

Business Hours Indicator Developer Profile

Wombat Plugins

4 plugins · 61K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
192 days
View full developer profile
Detection Fingerprints

How We Detect Business Hours Indicator

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/business-hours-indicator/admin/css/admin.min.css/wp-content/plugins/business-hours-indicator/admin/js/admin.min.js/wp-content/plugins/business-hours-indicator/templates/business-hours-indicator-block.php/wp-content/plugins/business-hours-indicator/templates/business-hours-indicator-widget.php/wp-content/plugins/business-hours-indicator/templates/business-hours-indicator.php/wp-content/plugins/business-hours-indicator/core/css/front.css/wp-content/plugins/business-hours-indicator/core/js/front.js
Version Parameters
business-hours-indicator/admin/css/admin.min.css?ver=business-hours-indicator/admin/js/admin.min.js?ver=business-hours-indicator/core/css/front.css?ver=business-hours-indicator/core/js/front.js?ver=

HTML / DOM Fingerprints

CSS Classes
bhi-openbhi-closedbhi-table-widgetbhi-widget-containerbhi-conditional-openbhi-conditional-closedbhi-conditional-hide-openbhi-conditional-hide-closed+2 more
HTML Comments
<!-- business-hours-indicator - Block Start --><!-- business-hours-indicator - Block End --><!-- MABEL_BHI_LITE Settings --><!-- End MABEL_BHI_LITE Settings -->
Data Attributes
data-bhi-closing-messagedata-bhi-opening-messagedata-bhi-warning-thresholddata-bhi-opening-todaydata-bhi-closing-todaydata-bhi-opening-next+4 more
JS Globals
var mabel_ajax
Shortcode Output
[business_hours_indicator][bhi_indicator]
FAQ

Frequently Asked Questions about Business Hours Indicator