{"summary":{"plugin_name":"expanding-archives","display_name":"Expanding Archives","version":"2.1.1","risk_level":"low","risk_score":17.0,"risk_factors":{"static_analysis":5,"owasp":5,"unauth_ratio":5,"rest_routes":2},"last_analyzed":"2026-11-23T13:10:49.548701","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":94,"num_ratings":6,"tested":"7.1","requires":"3.0","requires_php":"7.4","author":"Ashley","short_description":"This plugin adds a new widget where you can view your old posts by expanding certain years and months.","tags":["archives","navigation","posts","sidebar","widget"],"added":"2015-06-18","last_updated":"2026-08-30 11:39am GMT","metadata_fetched_at":"2026-09-06T14:41:13.169986+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.1.1"},"security_metrics":{"total_issues":5,"parameters_found":2,"unknown_parameters":0,"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":0,"owasp_findings":{"A01":3},"attack_surface_level":"minimal","attack_surface_score":6,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":2},"comparison":{"percentile":78.7,"rank":99510,"peer_count":466779,"better_than":78.7,"risk_distribution":{"medium":114538,"minimal":52897,"high":175824,"low":85542,"critical":37978}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":3,"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":["REST route '/posts/(?P<year>\\d{4})/(?P<month>\\d{1,2})' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))","Pattern 'rest_no_permission' x1 - REST endpoint with no permission check (1 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/posts/(?P<year>\\d{4})/(?P<month>\\d{1,2})","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["inc/class-expanding-archives.php:108"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"},{"type":"pattern_match","pattern":"rest_no_permission","count":1,"severity":"high","examples":["src/Api/v1/Posts.php:35"],"risk":"REST endpoint with no permission check (1 occurrence(s))"}]}}