{"summary":{"plugin_name":"posts-to-posts","display_name":"Posts 2 Posts","version":"1.7.9","risk_level":"low","risk_score":20.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":5,"filter_hooks":5},"last_analyzed":"2026-11-23T10:43:42.279536","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":96,"num_ratings":101,"tested":"7.1.2","requires":"6.0","requires_php":"5.6","author":"scribu","short_description":"Efficient many-to-many connections between posts, pages, custom post types, users.","tags":["connections","custom post types","many-to-many","relationships","users"],"added":"2010-05-09","last_updated":"2026-10-01 5:43am GMT","metadata_fetched_at":"2026-10-04T21:50:05.377220+00:00","modules_missing":null,"modules_failed":null,"latest_release":"1.7.9"},"security_metrics":{"total_issues":5,"parameters_found":19,"unknown_parameters":0,"headers_accessed":2,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":2,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":4},"attack_surface_level":"medium","attack_surface_score":21,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":77.5,"rank":107771,"peer_count":479590,"better_than":77.5,"risk_distribution":{"medium":117136,"high":176520,"low":91614,"minimal":56142,"critical":38178}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":4,"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 $_REQUEST on die","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on die","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on die","Pattern 'sqli_interpolated' x1 - Interpolated variable in SQL query string (1 occurrence(s))"]}],"owasp_findings":{"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on die","file":"/plugins/posts-to-posts/tags/1.7.9/admin/box.php","line":318},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on die","file":"/plugins/posts-to-posts/tags/1.7.9/admin/box.php","line":318},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on die","file":"/plugins/posts-to-posts/tags/1.7.9/admin/box.php","line":318},{"type":"pattern_match","pattern":"sqli_interpolated","count":1,"severity":"critical","examples":["vendor/scribu/scb-framework/BoxesPage.php:204"],"risk":"Interpolated variable in SQL query string (1 occurrence(s))"}]}}