Hotjar for WordPress Security & Risk Analysis

wordpress.org/plugins/sws-hotjar

The Hotjar for WordPress plugin adds the tracking code provided by hotjar to your site.

200 active installs v1.2.0 PHP 5.6+ WP 4.6+ Updated Jan 26, 2018
analyticsfunnelheatmaphotjarmarketing
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Hotjar for WordPress Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 8yr ago
Risk Assessment

The "sws-hotjar" plugin v1.2.0 exhibits a generally good security posture based on the provided static analysis and vulnerability history. There are no known CVEs associated with this plugin, nor are there any recorded vulnerabilities, indicating a potentially stable and secure codebase over time. The static analysis further supports this with a lack of dangerous functions, SQL queries (all prepared statements), file operations, external HTTP requests, and no identified taint flows or unsanitized paths. This suggests the developers have implemented some fundamental security best practices.

However, there are significant concerns regarding output escaping. With 9 total outputs and 0% properly escaped, there is a high risk of Cross-Site Scripting (XSS) vulnerabilities. Any data processed or displayed by this plugin that originates from user input or external sources could be injected with malicious scripts. Additionally, the complete absence of nonce checks and capability checks, coupled with no AJAX handlers or REST API routes being analyzed for authentication, suggests that even if no direct entry points were found in this specific analysis, any future addition of such features without proper security checks would be highly risky. The vulnerability history being clean might be a result of a limited attack surface discovered or a lack of historical security audits.

In conclusion, while the plugin appears to have a clean slate regarding known vulnerabilities and avoids many common pitfalls like raw SQL and dangerous functions, the critical issue of unescaped output presents a substantial risk. The lack of any recorded vulnerability history, combined with the identified output escaping issues, could imply that the plugin has not been thoroughly security audited for client-side vulnerabilities or that the developers have not prioritized output sanitization. The current security posture is therefore a mixed bag, with a strong foundation in some areas but a critical weakness in output handling that needs immediate attention.

Key Concerns

  • Unescaped output detected
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Hotjar for WordPress Security Vulnerabilities

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

Hotjar for WordPress Code Analysis

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

Output Escaping

0% escaped9 total outputs
Attack Surface

Hotjar for WordPress Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwp_headsws_hotjar.php:16
Maintenance & Trust

Hotjar for WordPress Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedJan 26, 2018
PHP min version5.6
Downloads8K

Community Trust

Rating100/100
Number of ratings1
Active installs200
Developer Profile

Hotjar for WordPress Developer Profile

stoute

2 plugins · 200 total installs

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

How We Detect Hotjar for WordPress

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

Asset Fingerprints

Script Paths
https://static.hotjar.com/c/hotjar-

HTML / DOM Fingerprints

HTML Comments
<!-- Hotjar for WordPress is installed.--><!-- Your Site ID is: <!-- You are logged in as an Admin, Editor, or Author so the script will not be displayed until you logout.--><!-- Thanks for using our plugin! -The Stoute.co Team (https://www.stoute.co/)-->+2 more
JS Globals
window.hjwindow._hjSettings
FAQ

Frequently Asked Questions about Hotjar for WordPress