{"summary":{"plugin_name":"category-posts","display_name":"Category Posts Block","version":"5.2.0","risk_level":"low","risk_score":22.0,"risk_factors":{"static_analysis":5,"owasp":5,"unauth_ratio":5,"superglobal_density":5,"rest_routes":2},"last_analyzed":"2026-11-23T10:21:34.700225","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":40000,"rating":90,"num_ratings":79,"tested":"7.1.5","requires":"6.6","requires_php":"7.2","author":"ZephyrWest","short_description":"Shows a list of recent posts from a category - with thumbnails, excerpt and a load more button. For posts, pages and the Site Editor.","tags":["latest posts","load more","post list","post thumbnails","recent posts"],"added":"2007-10-24","last_updated":"2026-11-10 8:12pm GMT","metadata_fetched_at":"2026-11-22T13:12:43.139342+00:00","modules_missing":[],"modules_failed":[],"latest_release":"5.2.0"},"security_metrics":{"total_issues":5,"parameters_found":6,"unknown_parameters":2,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":1,"query_vars":2,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A03":1,"A04":1},"attack_surface_level":"minimal","attack_surface_score":10,"tainted_sinks":3,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":71.9,"rank":140631,"peer_count":500200,"better_than":71.9,"risk_distribution":{"low":101057,"high":178042,"medium":121241,"critical":38812,"minimal":61048}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":2,"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 '/loadmore/(?P<id>[\\w-]+)/(?P<start>[\\d]+)/(?P<number>[\\d]+)/(?P<context>[\\w]+)' - 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))"]},{"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 x2 - 2 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"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":{"A01":[{"type":"rest_route","name":"/loadmore/(?P<id>[\\w-]+)/(?P<start>[\\d]+)/(?P<number>[\\d]+)/(?P<context>[\\w]+)","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":["loadmore.php:90"],"risk":"REST endpoint with no permission check (1 occurrence(s))"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":2,"risk":"2 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"}]}}