{"summary":{"plugin_name":"adthrive-ads","display_name":"Raptive Ads","version":"3.15.0","risk_level":"medium","risk_score":32.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":10,"unauth_ratio":5,"superglobal_density":5,"rest_routes":2},"last_analyzed":"2026-11-23T13:00:45.448274","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":6000,"rating":100,"num_ratings":3,"tested":"7.1.5","requires":"4.6","requires_php":"5.6","author":"Raptive","short_description":"Simplifies adding Raptive Ads to your site!","tags":["ads raptive"],"added":"2016-03-21","last_updated":"2026-11-18 2:52pm GMT","metadata_fetched_at":"2026-11-23T07:22:37.188933+00:00","modules_missing":[],"modules_failed":[],"latest_release":"3.15.0"},"security_metrics":{"total_issues":1,"parameters_found":26,"unknown_parameters":1,"headers_accessed":1,"cookies_accessed":0,"wp_hooks":2,"rest_routes":5,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A03":1,"A07":1},"attack_surface_level":"medium","attack_surface_score":38,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":64.2,"rank":180786,"peer_count":504516,"better_than":64.2,"risk_distribution":{"low":103127,"high":178418,"medium":121965,"critical":39001,"minimal":62005}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":1,"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 'extend' - 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":["Parameter 'query' - Parameter name suggests injection sink — verify sanitization"]},{"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"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"extend","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"}],"A03":[{"type":"parameter","name":"query","locations":{"GET":[{"file":"/plugins/adthrive-ads/tags/3.15.0/components/ads/class-main.php","line":97,"offset":2563,"snippet":"$_GET['query']"},{"file":"/plugins/adthrive-ads/tags/3.15.0/components/ads/class-main.php","line":98,"offset":2629,"snippet":"$_GET['query']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"}],"A07":[{"type":"auth_hook","name":"user_register","risk":"Hooks the 'user_register' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}