{"summary":{"plugin_name":"metronet-tag-manager","display_name":"Metronet Tag Manager","version":"1.6.0","risk_level":"low","risk_score":22.0,"risk_factors":{"owasp":5,"attack_surface":5,"superglobal_density":10,"rest_routes":2},"last_analyzed":"2026-11-23T14:10:50.127444","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":96,"num_ratings":8,"tested":"7.0","requires":"4.2","requires_php":"False","author":"Leon Hitchens","short_description":"Integrate Google Tag Manager into  your website.","tags":["google","google tag manager","tag manager"],"added":"2013-07-24","last_updated":"2026-04-25 7:32pm GMT","metadata_fetched_at":"2026-05-17T19:03:21.289672+00:00","modules_missing":null,"modules_failed":null,"latest_release":null},"security_metrics":{"total_issues":0,"parameters_found":16,"unknown_parameters":1,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":1,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":1,"owasp_findings":{"A03":1,"A04":1,"A07":1},"attack_surface_level":"medium","attack_surface_score":25,"tainted_sinks":4,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":77.5,"rank":96092,"peer_count":426481,"better_than":77.5,"risk_distribution":{"medium":107884,"minimal":41529,"high":173409,"low":66497,"critical":37162}},"executive_summary":null,"vulnerabilities":[{"id":"c413242f-f59c-4790-8fbb-7048f4a5ea08","title":"Metronet Tag Manager <= 1.2.7 - Cross-Site Request Forgery (CSRF)","created_at":"2018-05-16T10:10:04.000Z","updated_at":"2019-11-01T13:30:58.000Z","published_date":"2018-05-15T00:00:00.000Z","description":null,"poc":null,"vuln_type":"CSRF","references":{"url":["https://advisories.dxw.com/advisories/csrf-metronet-tag-manager/","https://plugins.trac.wordpress.org/changeset/1863885/metronet-tag-manager","https://seclists.org/fulldisclosure/2018/May/36"]},"cvss":null,"fixed_in":"1.2.9","introduced_in":null}],"recommendations":[{"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 x4 - 4 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"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 'enable_login_page' - Authentication-related parameter — verify login flow hardening"]},{"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: 6 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"reachability_sink","sink":"file_include","count":4,"risk":"4 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":6,"risk":"6 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"parameter","name":"enable_login_page","locations":{"POST":[{"file":"/plugins/metronet-tag-manager/tags/1.6.0/metronet-tag-manager.php","line":808,"offset":28914,"snippet":"$_POST['enable_login_page']"}]},"risk":"Authentication-related parameter — verify login flow hardening"}]}}