{"summary":{"plugin_name":"wp-headers-and-footers","display_name":"Insert Headers And Footers","version":"3.2.0","risk_level":"low","risk_score":20.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":5,"installs_modifier":-5},"last_analyzed":"2026-11-23T14:20:49.028376","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":200000,"rating":100,"num_ratings":135,"tested":"7.1.3","requires":"5.0","requires_php":"7.0.0","author":"Adnan","short_description":"Include inline javascript, stylesheets, CSS code or anything you want in Header and Footer areas of your WordPress with ease.","tags":["custom css","Facebook Pixel","footer","google analytics","header"],"added":"2017-04-20","last_updated":"2026-10-19 9:13am GMT","metadata_fetched_at":"2026-10-25T15:38:04.540659+00:00","modules_missing":null,"modules_failed":null,"latest_release":"3.2.0"},"security_metrics":{"total_issues":11,"parameters_found":21,"unknown_parameters":2,"headers_accessed":4,"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,"A04":1},"attack_surface_level":"medium","attack_surface_score":23,"tainted_sinks":10,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":77.0,"rank":112566,"peer_count":489943,"better_than":77.0,"risk_distribution":{"high":177246,"critical":38439,"medium":119238,"low":96473,"minimal":58547}},"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 echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","Reachable 'file_include' sink x10 - 10 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: 10 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wp-headers-and-footers/tags/3.2.0/lib/wpb-sdk/views/wpb-debug.php","line":410},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wp-headers-and-footers/tags/3.2.0/lib/wpb-sdk/views/wpb-debug.php","line":410},{"type":"reachability_sink","sink":"file_include","count":10,"risk":"10 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":10,"risk":"10 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}]}}