{"summary":{"plugin_name":"woocommerce-sendinblue-newsletter-subscription","display_name":"Brevo for WooCommerce","version":"4.0.63","risk_level":"low","risk_score":20.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":5,"unauth_ratio":5},"last_analyzed":"2026-11-23T14:46:24.408362","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":30000,"rating":72,"num_ratings":62,"tested":"7.1.5","requires":"4.3.1","requires_php":"5.6","author":"Brevo","short_description":"All-in-one WooCommerce email marketing, automation, SMS, and CRM by Brevo. Grow your store with powerful marketing tools.","tags":["Email Marketing","marketing automation","newsletter","sms","woocommerce"],"added":"2014-05-22","last_updated":"2026-11-19 6:45am GMT","metadata_fetched_at":"2026-11-23T05:43:41.933821+00:00","modules_missing":[],"modules_failed":[],"latest_release":"4.0.64"},"security_metrics":{"total_issues":7,"parameters_found":10,"unknown_parameters":0,"headers_accessed":4,"cookies_accessed":2,"wp_hooks":2,"rest_routes":1,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":1,"A02":1,"A03":3,"A04":1,"A07":1},"attack_surface_level":"medium","attack_surface_score":14,"tainted_sinks":9,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":8},"comparison":{"percentile":76.7,"rank":115937,"peer_count":497073,"better_than":76.7,"risk_distribution":{"low":99614,"high":177856,"medium":120578,"critical":38739,"minimal":60286}},"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":["Reachable 'variable_injection' sink x2 - 2 attacker-reachable 'variable_injection' sink(s) found by the reachability analyzer","Reachable 'file_include' sink x1 - 1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x8 - Interpolated variable in SQL query string (8 occurrence(s))"]},{"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":["Reachable 'option_update' sink x6 - 6 attacker-reachable 'option_update' 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 'wp_login' - Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":1,"description":"Failures related to cryptography which often lead to exposure of sensitive data","recommendations":["Never store passwords or API keys in plain text","Use WordPress options API with encryption for sensitive data","Implement proper key management practices","Use HTTPS for all sensitive data transmission"],"findings_summary":["Parameter 'consumer_secret' - Sensitive data exposure"]},{"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: 15 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A01":[{"type":"reachability_sink","sink":"option_update","count":6,"risk":"6 attacker-reachable 'option_update' sink(s) found by the reachability analyzer"}],"A02":[{"type":"parameter","name":"consumer_secret","locations":{"GET":[{"file":"/plugins/woocommerce-sendinblue-newsletter-subscription/tags/4.0.63/src/managers/api-manager.php","line":1388,"offset":56192,"snippet":"$_GET['consumer_secret']"},{"file":"/plugins/woocommerce-sendinblue-newsletter-subscription/tags/4.0.63/src/managers/api-manager.php","line":1388,"offset":56248,"snippet":"$_GET['consumer_secret']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"reachability_sink","sink":"variable_injection","count":2,"risk":"2 attacker-reachable 'variable_injection' sink(s) found by the reachability analyzer"},{"type":"reachability_sink","sink":"file_include","count":1,"risk":"1 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":8,"severity":"critical","examples":["model/model-country.php:14","model/model-country.php:32","model/model-country.php:73"],"risk":"Interpolated variable in SQL query string (8 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":15,"risk":"15 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"auth_hook","name":"wp_login","risk":"Hooks the 'wp_login' authentication/identity flow — verify it cannot be abused to bypass authentication"}]}}