{"summary":{"plugin_name":"custom-fonts","display_name":"Custom Fonts – Host Your Fonts Locally","version":"2.1.18","risk_level":"minimal","risk_score":7.0,"risk_factors":{"owasp":5,"attack_surface":5,"rest_routes":2,"installs_modifier":-5},"last_analyzed":"2026-11-23T12:58:54.427937","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":400000,"rating":86,"num_ratings":62,"tested":"7.1.4","requires":"5.0","requires_php":"False","author":"Brainstorm Force","short_description":"Custom Fonts is a powerful WordPress plugin that allows you to upload your own custom fonts or choose from a vast collection of Google Fonts, all host …","tags":["custom fonts","fonts","full-site-editing","google fonts","performance"],"added":"2017-08-12","last_updated":"2026-11-11 6:01am GMT","metadata_fetched_at":"2026-11-15T11:48:01.934108+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.1.18"},"security_metrics":{"total_issues":0,"parameters_found":13,"unknown_parameters":2,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":3,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":1,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A03":1},"attack_surface_level":"medium","attack_surface_score":21,"tainted_sinks":5,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":88.2,"rank":58457,"peer_count":496262,"better_than":88.2,"risk_distribution":{"low":99239,"high":177822,"medium":120365,"critical":38729,"minimal":60107}},"executive_summary":null,"vulnerabilities":[],"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 'option_update' sink x2 - 2 attacker-reachable 'option_update' 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 x3 - 3 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"option_update","count":2,"risk":"2 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":3,"risk":"3 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}]}}