{"summary":{"plugin_name":"related-posts-thumbnails","display_name":"Related Posts Thumbnails","version":"6.0.0","risk_level":"low","risk_score":27.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"superglobal_density":5,"rest_routes":2},"last_analyzed":"2026-11-23T12:26:56.877789","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":98,"num_ratings":234,"tested":"7.1.5","requires":"5.3","requires_php":"7.4","author":"marynixie","short_description":"Related Posts by WPBrigade is The Best Customizable plugin, that nicely displays related posts thumbnails under the post.","tags":["easy related posts","Free Related Posts","related posts","Related Posts thumbnails","similar related posts"],"added":"2010-05-21","last_updated":"2026-10-19 8:38am GMT","metadata_fetched_at":"2026-11-22T04:42:53.597970+00:00","modules_missing":[],"modules_failed":[],"latest_release":"6.0.0"},"security_metrics":{"total_issues":6,"parameters_found":22,"unknown_parameters":2,"headers_accessed":4,"cookies_accessed":0,"wp_hooks":2,"rest_routes":2,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":1,"file_upload_parameters":0,"owasp_findings":{"A03":3,"A04":1,"A07":1},"attack_surface_level":"medium","attack_surface_score":28,"tainted_sinks":7,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":68.0,"rank":160356,"peer_count":501497,"better_than":68.0,"risk_distribution":{"low":101676,"high":178141,"medium":121491,"critical":38878,"minimal":61311}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":3,"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":["phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo","Reachable 'file_include' sink x7 - 7 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":1,"description":"Functions related to a user's identity, authentication, or session management","recommendations":["Enforce strong passwords and rate-limit login attempts","Add MFA/2FA for privileged accounts","Use wp_verify_nonce() and capability checks together — neither alone is sufficient","Audit any authenticate / determine_current_user filter for bypass paths"],"findings_summary":["Auth hook 'user_register' - Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"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: 21 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/related-posts-thumbnails/tags/6.0.0/lib/wpb-sdk/views/wpb-debug.php","line":410},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/related-posts-thumbnails/tags/6.0.0/lib/wpb-sdk/views/wpb-debug.php","line":410},{"type":"reachability_sink","sink":"file_include","count":7,"risk":"7 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":21,"risk":"21 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"auth_hook","name":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}