{"summary":{"plugin_name":"klaviyo","display_name":"Klaviyo","version":"3.9.0","risk_level":"medium","risk_score":30.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":5,"unauth_ratio":10,"superglobal_density":5,"rest_routes":5,"installs_modifier":-5},"last_analyzed":"2026-11-23T12:55:22.484142","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":100000,"rating":56,"num_ratings":24,"tested":"7.0.9","requires":"6.2","requires_php":"7.4","author":"klaviyo","short_description":"Klaviyo for WooCommerce","tags":["analytics","email","Klaviyo","marketing","woocommerce"],"added":"2012-04-11","last_updated":"2026-10-28 3:03pm GMT","metadata_fetched_at":"2026-11-22T20:47:46.287414+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.9.0"},"security_metrics":{"total_issues":4,"parameters_found":10,"unknown_parameters":0,"headers_accessed":2,"cookies_accessed":1,"wp_hooks":2,"rest_routes":7,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":2,"file_upload_parameters":0,"owasp_findings":{"A01":5,"A03":1,"A04":1},"attack_surface_level":"medium","attack_surface_score":26,"tainted_sinks":4,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":5},"comparison":{"percentile":67.5,"rank":163039,"peer_count":501562,"better_than":67.5,"risk_distribution":{"low":101712,"high":178141,"medium":121489,"critical":38894,"minimal":61326}},"executive_summary":null,"vulnerabilities":[{"id":"495e39db-793d-454b-9ef1-dd91cae2c49b","title":"Klaviyo <= 3.0.10 - Admin+ Stored XSS","created_at":"2023-03-20T07:55:42.000Z","updated_at":"2023-03-20T07:55:42.000Z","published_date":"2023-03-20T00:00:00.000Z","description":null,"poc":null,"vuln_type":"XSS","references":{"cve":["2023-0874"]},"cvss":null,"fixed_in":"3.0.10","introduced_in":null},{"id":"a3b3e8bd-cc07-4558-aa39-78491447ce4c","title":"Klaviyo < 3.0.8 - Admin+ Stored XSS","created_at":"2023-03-24T09:20:31.000Z","updated_at":"2023-03-24T09:20:31.000Z","published_date":"2023-03-13T00:00:00.000Z","description":null,"poc":null,"vuln_type":"XSS","references":{"cve":["2023-25456"]},"cvss":null,"fixed_in":"3.0.8","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":5,"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 'version' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route 'products/count' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route 'products' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Reachable 'option_update' sink x1 - 1 attacker-reachable 'option_update' sink(s) found by the reachability analyzer","Pattern 'rest_no_permission' x5 - REST endpoint with no permission check (5 occurrence(s))"]},{"category":"A03","name":"Injection","severity":"medium","findings_count":1,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["Reachable 'file_include' sink x3 - 3 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 3 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"version","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"products/count","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"products","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"reachability_sink","sink":"option_update","count":1,"risk":"1 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"rest_no_permission","count":5,"severity":"high","examples":["includes/class-wck-api.php:400","includes/class-wck-api.php:405","includes/class-wck-api.php:410"],"risk":"REST endpoint with no permission check (5 occurrence(s))"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":3,"risk":"3 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":3,"risk":"3 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}]}}