{"summary":{"plugin_name":"thinkrank","display_name":"ThinkRank SEO – AI SEO Plugin for SEO & Google Search Console","version":"2.21.3","risk_level":"high","risk_score":50.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15,"unauth_ratio":5,"filter_hooks":5,"rest_routes":10,"raw_input":5},"last_analyzed":"2026-11-26T09:55:42.826395","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":98,"num_ratings":38,"tested":"7.1.5","requires":"6.0","requires_php":"7.4","author":"WPDeveloper","short_description":"AI SEO plugin for WordPress SEO: AI SEO tools, Google Search Console, meta descriptions, schema & XML sitemaps. Focus keywords+MCP for Claude/ChatGPT.","tags":["ai seo","google search console","schema","seo","xml sitemap"],"added":"2025-08-10","last_updated":"2026-11-18 11:38am GMT","metadata_fetched_at":"2026-11-26T04:41:09.893785+00:00","modules_missing":[],"modules_failed":[],"latest_release":"2.23.1"},"security_metrics":{"total_issues":26,"parameters_found":34,"unknown_parameters":1,"headers_accessed":12,"cookies_accessed":0,"wp_hooks":2,"rest_routes":199,"query_vars":11,"shortcode_atts":0,"rest_routes_with_access_patterns":23,"file_upload_parameters":0,"owasp_findings":{"A01":6,"A03":1},"attack_surface_level":"large","attack_surface_score":434,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":6},"comparison":{"percentile":43.3,"rank":284479,"peer_count":501497,"better_than":43.3,"risk_distribution":{"low":101676,"high":178141,"medium":121491,"critical":38878,"minimal":61311}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"critical","findings_count":6,"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 '/mcp' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/mcp/oauth/protected-resource' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/mcp/oauth/authorization-server' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/mcp/oauth/register' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/mcp/oauth/token' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers"]},{"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":["Pattern 'sqli_interpolated' x6 - Interpolated variable in SQL query string (6 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/mcp","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/mcp/oauth/protected-resource","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/mcp/oauth/authorization-server","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/mcp/oauth/register","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/mcp/oauth/token","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/ai-referral","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"}],"A03":[{"type":"pattern_match","pattern":"sqli_interpolated","count":6,"severity":"critical","examples":["uninstall.php:71","includes/ai/class-cache-manager.php:131","includes/ai/class-cache-manager.php:171"],"risk":"Interpolated variable in SQL query string (6 occurrence(s))"}]}}