{"summary":{"plugin_name":"social-contact-form","display_name":"Contact Form to Chat Apps | Click to Chat to Order – FormyChat","version":"5.10.0","risk_level":"low","risk_score":22.0,"risk_factors":{"static_analysis":5,"owasp":5,"unauth_ratio":10,"rest_routes":2},"last_analyzed":"2026-11-23T14:03:25.110477","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":3000,"rating":100,"num_ratings":6,"tested":"7.0.4","requires":"5.0","requires_php":"5.6","author":"WPPOOL","short_description":"Connect contact forms and WooCommerce to WhatsApp by live click to chat. Send form data to WhatsApp Business for instant customer engagement","tags":["click to chat","live chat","whatsapp business","whatsapp chat","woocommerce whatsapp"],"added":"2022-04-03","last_updated":"2026-09-09 3:49pm GMT","metadata_fetched_at":"2026-11-18T05:18:26.194711+00:00","modules_missing":null,"modules_failed":null,"latest_release":"2.16.1"},"security_metrics":{"total_issues":4,"parameters_found":8,"unknown_parameters":0,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":0,"rest_routes":4,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":4,"A03":3},"attack_surface_level":"medium","attack_surface_score":16,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":23},"comparison":{"percentile":91.2,"rank":2290,"peer_count":25994,"better_than":91.2,"risk_distribution":{"high":12474,"medium":7844,"critical":1342,"low":3060,"minimal":1274}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":4,"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 '/submit-form' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/get-form' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","Pattern 'nopriv_no_nonce' x4 - Nopriv AJAX handler without nonce verification (4 occurrence(s))","Pattern 'rest_no_permission' x3 - REST endpoint with no permission check (3 occurrence(s))"]},{"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 $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","Pattern 'sqli_interpolated' x16 - Interpolated variable in SQL query string (16 occurrence(s))"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/submit-form","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/get-form","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"pattern_match","pattern":"nopriv_no_nonce","count":4,"severity":"high","examples":["includes/class.hooks.php:14","includes/classes/Hooks.php:15","includes/classes/class-hooks.php:39"],"risk":"Nopriv AJAX handler without nonce verification (4 occurrence(s))"},{"type":"pattern_match","pattern":"rest_no_permission","count":3,"severity":"high","examples":["includes/public/class-rest.php:58","includes/public/class-rest.php:68","includes/public/class-rest.php:79"],"risk":"REST endpoint with no permission check (3 occurrence(s))"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-contact-form/tags/5.10.0/includes/public/class-hooks.php","line":82},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-contact-form/tags/5.10.0/includes/public/class-hooks.php","line":105},{"type":"pattern_match","pattern":"sqli_interpolated","count":16,"severity":"critical","examples":["includes/admin/class-admin-rest.php:500","includes/core/class-database.php:59","includes/core/class-database.php:78"],"risk":"Interpolated variable in SQL query string (16 occurrence(s))"}]}}