Tock Widget Security & Risk Analysis

wordpress.org/plugins/tock-widget

Quickly and easily embed the official Tock booking button and reservation widget into your Wordpress site. The button can be inserted into any page of …

400 active installs v1.2 PHP 7.3.5+ WP 6.1.1+ Updated Jan 13, 2025
reservationsrestaurantstockwidgetwineries
91
A · Safe
CVEs total1
Unpatched0
Last CVEJan 7, 2025
Download
Safety Verdict

Is Tock Widget Safe to Use in 2026?

Generally Safe

Score 91/100

Tock Widget has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Jan 7, 2025Updated 1yr ago
Risk Assessment

The tock-widget plugin v1.2 exhibits a generally strong security posture based on the provided static analysis. The absence of any detected dangerous functions, file operations, or external HTTP requests is commendable. Furthermore, the plugin demonstrates excellent practice by ensuring all SQL queries are prepared and all output is properly escaped. The presence of both nonce and capability checks, even with a small attack surface, indicates an awareness of core WordPress security principles. Taint analysis also shows no concerning flows of unsanitized data, which is a positive indicator.

Despite these strengths, the plugin has a documented history of vulnerabilities, specifically one known CVE attributed to Cross-Site Request Forgery (CSRF). While this CVE is currently unpatched, the fact that there are no currently unpatched vulnerabilities is a good sign. The consistent appearance of CSRF vulnerabilities in its history suggests a recurring weakness that, while addressed in this version, warrants continued vigilance in future development to prevent recurrence. The very small attack surface (zero entry points) means that even a single vulnerability could be significant, but the current analysis suggests a well-mitigated risk for this version.

In conclusion, tock-widget v1.2 appears to be a securely developed plugin with good coding practices. The past vulnerability history, particularly the documented CSRF issues, is the primary area of concern. However, the absence of active, unpatched vulnerabilities and the robust static analysis results indicate that the current version is likely safe to use, provided ongoing security reviews are maintained to address past patterns.

Key Concerns

  • Known CVE exists, currently unpatched
Vulnerabilities
1

Tock Widget Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-22520medium · 6.1Cross-Site Request Forgery (CSRF)

Tock Widget <= 1.1 - Cross-Site Request Forgery to Stored Cross-Site Scripting

Jan 7, 2025 Patched in 1.2 (9d)
Code Analysis
Analyzed Mar 16, 2026

Tock Widget Code Analysis

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

Output Escaping

100% escaped6 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<tock-admin-page> (includes\tock-admin-page.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Tock Widget Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionadmin_menuincludes\tock-widget-functions.php:7
actionwp_headincludes\tock-widget-functions.php:38
actionenqueue_block_editor_assetsincludes\tock-widget-functions.php:54
Maintenance & Trust

Tock Widget Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedJan 13, 2025
PHP min version7.3.5
Downloads6K

Community Trust

Rating0/100
Number of ratings0
Active installs400
Developer Profile

Tock Widget Developer Profile

Tock

1 plugin · 400 total installs

88
trust score
Avg Security Score
91/100
Avg Patch Time
9 days
View full developer profile
Detection Fingerprints

How We Detect Tock Widget

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/tock-widget/tock-block.js
Script Paths
https://www.exploretock.com/tock.js

HTML / DOM Fingerprints

CSS Classes
Tock_widget_container
Data Attributes
data-tock-display-modedata-tock-color-modedata-tock-localedata-tock-timezone
JS Globals
tocktockBlockVars
Shortcode Output
<div id="Tock_widget_container" data-tock-display-mode="Button" data-tock-color-mode="Blue" data-tock-locale="en-us" data-tock-timezone="America/New_York" style="display:inline-block;"></div>
FAQ

Frequently Asked Questions about Tock Widget