Better Business Hours Security & Risk Analysis

wordpress.org/plugins/better-business-hours

Easily set and display your business hours. A shortcode and widget are included so you can put it anywhere on your site.

70 active installs v1.0.3.2 PHP + WP 4.4+ Updated Jun 14, 2022
business-hoursbusiness-hours-widget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Better Business Hours Safe to Use in 2026?

Generally Safe

Score 85/100

Better Business Hours 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 'better-business-hours' plugin version 1.0.3.2 exhibits a generally strong security posture based on the provided static analysis and vulnerability history. The absence of known CVEs, combined with the fact that all observed SQL queries utilize prepared statements and there are no recorded vulnerabilities, suggests a well-maintained and secure codebase. The limited attack surface, consisting of only one shortcode and no unprotected entry points, further contributes to its security. However, a notable concern arises from the output escaping, where only 34% of outputs are properly escaped. This indicates a potential risk for cross-site scripting (XSS) vulnerabilities if user-supplied data is not handled carefully within the plugin's shortcode or other rendering functions. While there are no critical taint flows or dangerous function calls, this partial output escaping warrants attention and potential remediation to ensure full protection against XSS attacks.

Key Concerns

  • Output escaping is only 34% proper
Vulnerabilities
None known

Better Business Hours Security Vulnerabilities

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

Better Business Hours Code Analysis

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

Output Escaping

34% escaped29 total outputs
Attack Surface

Better Business Hours Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[business_hours] includes\class-shortcode.php:42
WordPress Hooks 15
actioninitbetter-business-hours.php:201
actionrest_api_initbetter-business-hours.php:203
actionadmin_enqueue_scriptsbetter-business-hours.php:204
actionwp_enqueue_scriptsbetter-business-hours.php:205
actionall_admin_noticesbetter-business-hours.php:258
actionadmin_initbetter-business-hours.php:261
actionplugins_loadedbetter-business-hours.php:386
actionadmin_enqueue_scriptsincludes\class-admin.php:42
actionwp_enqueue_scriptsincludes\class-admin.php:43
actionadmin_menuincludes\class-admin.php:45
actionwp_enqueue_scriptsincludes\class-shortcode.php:43
actionsave_postincludes\class-widget.php:66
actiondeleted_postincludes\class-widget.php:67
actionswitch_themeincludes\class-widget.php:68
actionwidgets_initincludes\class-widget.php:210
Maintenance & Trust

Better Business Hours Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedJun 14, 2022
PHP min version
Downloads4K

Community Trust

Rating100/100
Number of ratings2
Active installs70
Developer Profile

Better Business Hours Developer Profile

NSquared

4 plugins · 85K total installs

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

How We Detect Better Business Hours

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/better-business-hours/assets/javascripts/jquery.availability.js/wp-content/plugins/better-business-hours/assets/javascripts/moment-timezone-with-data.js/wp-content/plugins/better-business-hours/assets/javascripts/moment-with-locales.js
Version Parameters
better-business-hours/assets/javascripts/moment-with-locales.js?ver=better-business-hours/assets/javascripts/moment-timezone-with-data.js?ver=better-business-hours/assets/javascripts/jquery.availability.js?ver=

HTML / DOM Fingerprints

JS Globals
window.BBH_Settings
REST Endpoints
/wp-json/bbh/v1/settings/wp-json/bbh/v1/availability
FAQ

Frequently Asked Questions about Better Business Hours