{"summary":{"plugin_name":"latest-post-shortcode","display_name":"Latest Post Shortcode","version":"14.2.3","risk_level":"medium","risk_score":42.0,"risk_factors":{"static_analysis":20,"owasp":5,"attack_surface":5,"unauth_ratio":5,"filter_hooks":5,"rest_routes":2},"last_analyzed":"2026-11-23T11:13:05.371604","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":4000,"rating":96,"num_ratings":46,"tested":"7.0","requires":"5.5.0","requires_php":"7.3.5","author":"Iulia Cazan","short_description":"The \"Latest Post Shortcode\" allows you to create a dynamic content selection from your posts by combining, limiting, and filtering what you need.","tags":["configurable shortcode with UI","Gutenberg block","paginated posts","posts grid","posts shortcode"],"added":"2015-03-11","last_updated":"2026-04-10 4:35pm GMT","metadata_fetched_at":"2026-05-03T00:25:58.650814+00:00","modules_missing":null,"modules_failed":null,"latest_release":null},"security_metrics":{"total_issues":58,"parameters_found":12,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":1,"query_vars":1,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":3},"attack_surface_level":"medium","attack_surface_score":16,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":2},"comparison":{"percentile":57.6,"rank":179610,"peer_count":423549,"better_than":57.6,"risk_distribution":{"minimal":40898,"medium":107633,"high":173376,"low":64964,"critical":36678}},"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 '/assess-exclusion' - 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":"/assess-exclusion","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":["latest-post-shortcode.php:192"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"},{"type":"pattern_match","pattern":"rest_no_permission","count":1,"severity":"high","examples":["lps-block/block-preview.php:23"],"risk":"REST endpoint with no permission check (1 occurrence(s))"}]}}