{"summary":{"plugin_name":"catfolders-document-gallery","display_name":"CatFolders Document Gallery & PDF Library","version":"2.0.8","risk_level":"low","risk_score":27.0,"risk_factors":{"static_analysis":5,"owasp":5,"unauth_ratio":10,"rest_routes":7},"last_analyzed":"2026-11-23T13:01:49.409095","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":90,"num_ratings":15,"tested":"7.1.4","requires":"6.1","requires_php":"7.0","author":"CatFolders","short_description":"Display WordPress PDF gallery and file gallery from folders. Comes with a clean, searchable & sortable list/grid layout.","tags":["document library","document management","documents","downloads","pdf"],"added":"2023-09-19","last_updated":"2026-11-01 12:20pm GMT","metadata_fetched_at":"2026-11-15T11:21:29.475530+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.0.8"},"security_metrics":{"total_issues":1,"parameters_found":5,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":6,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":5,"file_upload_parameters":0,"owasp_findings":{"A01":4},"attack_surface_level":"medium","attack_surface_score":19,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":68.4,"rank":156866,"peer_count":496213,"better_than":68.4,"risk_distribution":{"low":99213,"high":177818,"medium":120354,"critical":38729,"minimal":60099}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":4,"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 '/update-download-count' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/catfdoc-reload-table' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/catfdoc-search-data' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'rest_no_permission' x1 - REST endpoint with no permission check (1 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/update-download-count","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/catfdoc-reload-table","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/catfdoc-search-data","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"rest_no_permission","count":1,"severity":"high","examples":["includes/Engine/RestAPI.php:39"],"risk":"REST endpoint with no permission check (1 occurrence(s))"}]}}