{"summary":{"plugin_name":"header-footer","display_name":"Head, Footer and Post Injections","version":"3.3.6","risk_level":"low","risk_score":15.0,"risk_factors":{"static_analysis":5,"owasp":5,"superglobal_density":10,"installs_modifier":-5},"last_analyzed":"2026-11-23T12:45:18.504979","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":200000,"rating":98,"num_ratings":735,"tested":"6.9.4","requires":"6.1","requires_php":"7.0","author":"Stefano Lissa","short_description":"Head and Footer plugin lets you to add HTML code to the head and footer sections of your site pages, inside posts... and more!","tags":["ads","amp","analytics","footer","header"],"added":"2008-04-07","last_updated":"2026-03-28 12:46pm GMT","metadata_fetched_at":"2026-04-26T07:26:20.774947+00:00","modules_missing":null,"modules_failed":null,"latest_release":null},"security_metrics":{"total_issues":3,"parameters_found":9,"unknown_parameters":2,"headers_accessed":2,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":3},"attack_surface_level":"medium","attack_surface_score":11,"tainted_sinks":1,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":85.3,"rank":61805,"peer_count":420417,"better_than":85.3,"risk_distribution":{"high":173095,"medium":106930,"minimal":40336,"low":63735,"critical":36321}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":3,"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":["phpcs_security: Easy XSS detected because of direct user input with $_SERVER on <?=","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on <?=","Reachable 'code_exec' sink x1 - 1 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer"]}],"owasp_findings":{"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on <?=","file":"/plugins/header-footer/tags/3.3.6/admin/options.php","line":82},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on <?=","file":"/plugins/header-footer/tags/3.3.6/admin/options.php","line":95},{"type":"reachability_sink","sink":"code_exec","count":1,"risk":"1 attacker-reachable 'code_exec' sink(s) found by the reachability analyzer"}]}}