{"summary":{"plugin_name":"header-footer-code-manager","display_name":"Header Footer Code Manager","version":"1.1.46","risk_level":"low","risk_score":28.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":15,"installs_modifier":-7},"last_analyzed":"2026-11-23T11:51:32.789910","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":600000,"rating":98,"num_ratings":309,"tested":"7.0.9","requires":"4.9","requires_php":"5.6.20","author":"DraftPress Team","short_description":"Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, marketing, or chat features.","tags":["code manager","footer","functions.php","header","snippet"],"added":"2016-08-26","last_updated":"2026-07-15 3:20pm GMT","metadata_fetched_at":"2026-11-22T04:50:10.888392+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.1.46"},"security_metrics":{"total_issues":1,"parameters_found":31,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":2,"owasp_findings":{"A01":1,"A03":1,"A04":1},"attack_surface_level":"medium","attack_surface_score":43,"tainted_sinks":7,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":2,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":72.4,"rank":123120,"peer_count":446048,"better_than":72.4,"risk_distribution":{"medium":110696,"minimal":47386,"high":174591,"low":75756,"critical":37619}},"executive_summary":null,"vulnerabilities":[{"id":"d55caa9b-d50f-4c13-bc69-dc475641735f","title":"Header Footer Code Manager < 1.1.14 - Admin+ SQL Injections","created_at":"2021-10-11T08:45:18.000Z","updated_at":"2022-04-08T07:05:43.000Z","published_date":"2021-10-11T00:00:00.000Z","vuln_type":"SQLI","references":{"cve":["2021-24791"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.1.14","introduced_in":null},{"id":"23df8f1f-feb9-4d42-9b91-130acf656e71","title":"Header Footer Code Manager < 1.1.17 - Reflected Cross-Site Scripting","created_at":"2022-02-22T14:54:42.000Z","updated_at":"2022-04-12T08:18:21.000Z","published_date":"2022-02-22T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://www.wordfence.com/blog/2022/02/reflected-xss-in-header-footer-code-manager/"],"cve":["2022-0710"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.1.17","introduced_in":null},{"id":"1772417a-1abb-4d97-9694-1254840defd1","title":"Header Footer Code Manager < 1.1.24 - Reflected Cross-Site Scripting","created_at":"2022-07-04T07:51:15.000Z","updated_at":"2023-04-07T07:01:25.000Z","published_date":"2022-07-04T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2022-0899"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.1.24","introduced_in":null},{"id":"fbd01141-4103-40a1-895c-98d12bf259cc","title":"Header Footer Code Manager < 1.1.35 - Snippets Activation/Deactivation/Deletion via CSRF","created_at":"2023-10-09T12:29:35.000Z","updated_at":"2023-10-09T12:29:37.000Z","published_date":"2023-07-04T00:00:00.000Z","vuln_type":"CSRF","references":{"cve":["2023-39989"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.1.35","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":1,"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":["Reachable 'file_read' sink x2 - 2 attacker-reachable 'file_read' sink(s) found by the reachability analyzer"]},{"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 x5 - 5 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: 16 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"file_read","count":2,"risk":"2 attacker-reachable 'file_read' sink(s) found by the reachability analyzer"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":5,"risk":"5 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":16,"risk":"16 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}]}}