{"summary":{"plugin_name":"what-the-file","display_name":"What The File","version":"1.6.1","risk_level":"low","risk_score":10.0,"risk_factors":{"superglobal_density":10},"last_analyzed":"2026-11-23T14:05:32.799010","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":40000,"rating":98,"num_ratings":883,"tested":"6.9.10","requires":"3.1","requires_php":"5.3","author":"Barry Kooij","short_description":"What The File is the best tool to find out what template parts are used to display the page you're currently viewing!","tags":["development","file","template","template editing","toolbar"],"added":"2012-08-26","last_updated":"2026-02-19 5:21pm GMT","metadata_fetched_at":null,"modules_missing":null,"modules_failed":null,"latest_release":null},"security_metrics":{"total_issues":0,"parameters_found":0,"unknown_parameters":1,"headers_accessed":3,"cookies_accessed":0,"wp_hooks":0,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A03":2},"attack_surface_level":"none","attack_surface_score":0,"tainted_sinks":4,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":100.0,"rank":1,"peer_count":253877,"better_than":100.0,"risk_distribution":{"medium":67477,"minimal":26644,"high":110782,"low":36264,"critical":12710}},"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 'redirect' sink x1 - 1 attacker-reachable 'redirect' sink(s) found by the reachability analyzer"]},{"category":"A03","name":"Injection","severity":"medium","findings_count":2,"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 x2 - 2 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Reachable 'variable_injection' sink x1 - 1 attacker-reachable 'variable_injection' sink(s) found by the reachability analyzer"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"redirect","count":1,"risk":"1 attacker-reachable 'redirect' sink(s) found by the reachability analyzer"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":2,"risk":"2 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"variable_injection","count":1,"risk":"1 attacker-reachable 'variable_injection' sink(s) found by the reachability analyzer"}]}}