{"summary":{"plugin_name":"gmail-smtp","display_name":"Gmail SMTP","version":"1.2.3.23","risk_level":"low","risk_score":15.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":5},"last_analyzed":"2026-11-23T11:58:50.561239","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":82,"num_ratings":103,"tested":"7.1.5","requires":"7.0","requires_php":"8.1","author":"Noor Alam","short_description":"Connect to Gmail SMTP server to automatically send email from your WordPress site. Configure wp_mail() to use SMTP with OAuth 2.0 authentication.","tags":["email","gmail","mail","oauth","smtp"],"added":"2015-11-12","last_updated":"2026-11-08 7:05am GMT","metadata_fetched_at":"2026-11-23T01:11:59.189303+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.2.3.24"},"security_metrics":{"total_issues":10,"parameters_found":20,"unknown_parameters":0,"headers_accessed":8,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A02":2,"A03":2},"attack_surface_level":"medium","attack_surface_score":22,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":81.4,"rank":93480,"peer_count":503044,"better_than":81.4,"risk_distribution":{"low":102421,"high":178314,"medium":121685,"critical":38958,"minimal":61666}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"medium","findings_count":2,"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 $_SERVER on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":2,"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 'oauth_client_secret' - Sensitive data exposure","Parameter 'type_of_encryption' - Sensitive data exposure"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"oauth_client_secret","locations":{"POST":[{"file":"/plugins/gmail-smtp/tags/1.2.3.23/main.php","line":369,"offset":16901,"snippet":"$_POST['oauth_client_secret']"},{"file":"/plugins/gmail-smtp/tags/1.2.3.23/main.php","line":369,"offset":16942,"snippet":"$_POST['oauth_client_secret']"},{"file":"/plugins/gmail-smtp/tags/1.2.3.23/main.php","line":370,"offset":17029,"snippet":"$_POST['oauth_client_secret']"}]},"risk":"Sensitive data exposure"},{"type":"parameter","name":"type_of_encryption","locations":{"POST":[{"file":"/plugins/gmail-smtp/tags/1.2.3.23/main.php","line":385,"offset":17760,"snippet":"$_POST['type_of_encryption']"},{"file":"/plugins/gmail-smtp/tags/1.2.3.23/main.php","line":385,"offset":17800,"snippet":"$_POST['type_of_encryption']"},{"file":"/plugins/gmail-smtp/tags/1.2.3.23/main.php","line":386,"offset":17891,"snippet":"$_POST['type_of_encryption']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/gmail-smtp/tags/1.2.3.23/main.php","line":298},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/gmail-smtp/tags/1.2.3.23/main.php","line":529}]}}