{"summary":{"plugin_name":"microsoft-clarity","display_name":"Microsoft Clarity","version":"0.10.37","risk_level":"low","risk_score":27.0,"risk_factors":{"owasp":5,"attack_surface":10,"unauth_ratio":5,"superglobal_density":5,"rest_routes":2,"raw_input":5,"installs_modifier":-5},"last_analyzed":"2026-11-23T12:48:25.584906","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":200000,"rating":90,"num_ratings":14,"tested":"7.0.9","requires":"4.0","requires_php":"False","author":"Microsoft","short_description":"How do you make your website great? Clarity can help you quickly see what's working on your site and where people get stuck.","tags":["behavioral analytics","clarity","microsoft"],"added":"2020-11-18","last_updated":"2026-11-10 11:16pm GMT","metadata_fetched_at":"2026-11-22T04:45:00.629947+00:00","modules_missing":[],"modules_failed":[],"latest_release":"0.10.38"},"security_metrics":{"total_issues":0,"parameters_found":24,"unknown_parameters":0,"headers_accessed":11,"cookies_accessed":0,"wp_hooks":2,"rest_routes":3,"query_vars":3,"shortcode_atts":0,"rest_routes_with_access_patterns":1,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A07":1},"attack_surface_level":"medium","attack_surface_score":32,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":68.0,"rank":160356,"peer_count":501497,"better_than":68.0,"risk_distribution":{"low":101676,"high":178141,"medium":121491,"critical":38878,"minimal":61311}},"executive_summary":null,"vulnerabilities":[{"id":"35080202-ba0d-4f44-bc6c-d8f1d2d54d9a","title":"Microsoft Clarity < 0.4 - Admin+ Stored Cross-Site Scripting","created_at":"2022-03-09T19:28:51.000Z","updated_at":"2022-04-17T07:01:13.000Z","published_date":"2021-10-18T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2021-33850"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"0.4","introduced_in":null},{"id":"0cf85367-3197-4f6e-a8a7-1a46e09c6e00","title":"Microsoft Clarity < 0.9.4 - Cross-Site Request Forgery to Stored Cross-Site Scripting","created_at":"2024-02-16T14:30:31.000Z","updated_at":"2024-02-16T14:30:31.000Z","published_date":"2024-02-16T00:00:00.000Z","vuln_type":"CSRF","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/c2f4461b-1373-4d09-8430-14d1961e1644"],"cve":["2024-0590"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"0.9.4","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":2,"description":"Access control enforces policy such that users cannot act outside of their intended permissions","recommendations":["Add a real permission_callback to every REST route — never '__return_true' for state-changing endpoints","Verify nonces on all wp_ajax_nopriv_ handlers and re-check capabilities server-side","Validate and canonicalize file paths to block traversal on read/write/delete operations","Never trust a user-supplied role/capability — enforce it against the acting user's own permissions"],"findings_summary":["REST route '/cart/updateattributes' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/wordpress/connect-verify' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":1,"description":"Functions related to a user's identity, authentication, or session management","recommendations":["Enforce strong passwords and rate-limit login attempts","Add MFA/2FA for privileged accounts","Use wp_verify_nonce() and capability checks together — neither alone is sufficient","Audit any authenticate / determine_current_user filter for bypass paths"],"findings_summary":["Parameter 'oauth_token' - Authentication-related parameter — verify login flow hardening"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/cart/updateattributes","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/wordpress/connect-verify","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"}],"A07":[{"type":"parameter","name":"oauth_token","locations":{"GET":[{"file":"/plugins/microsoft-clarity/tags/0.10.37/clarity-page.php","line":107,"offset":5406,"snippet":"$_GET['oauth_token']"},{"file":"/plugins/microsoft-clarity/tags/0.10.37/clarity-page.php","line":107,"offset":5450,"snippet":"$_GET['oauth_token']"},{"file":"/plugins/microsoft-clarity/tags/0.10.37/clarity-page.php","line":225,"offset":11651,"snippet":"$_GET['oauth_token']"},{"file":"/plugins/microsoft-clarity/tags/0.10.37/clarity-page.php","line":225,"offset":11697,"snippet":"$_GET['oauth_token']"}]},"risk":"Authentication-related parameter — verify login flow hardening"}]}}