{"summary":{"plugin_name":"wpo365-msgraphmailer","display_name":"WPO365 | MICROSOFT 365 GRAPH MAILER","version":"6.5","risk_level":"low","risk_score":25.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":15},"last_analyzed":"2026-11-23T13:53:34.520924","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":100,"num_ratings":41,"tested":"7.1.4","requires":"5.0","requires_php":"7.4","author":"Marco van Wieren","short_description":"Send WordPress emails from a M365 / Exchange Online Mailbox using Microsoft Graph, leveraging OAuth for authentication which is more secure than SMTP","tags":["email","microsoft","phpmailer","smtp","wp_mail"],"added":"2022-02-04","last_updated":"2026-11-12 8:52am GMT","metadata_fetched_at":"2026-11-16T10:31:12.275529+00:00","modules_missing":null,"modules_failed":null,"latest_release":"6.5"},"security_metrics":{"total_issues":72,"parameters_found":67,"unknown_parameters":2,"headers_accessed":7,"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":1,"A03":2,"A07":3},"attack_surface_level":"large","attack_surface_score":69,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":71.5,"rank":141993,"peer_count":497732,"better_than":71.5,"risk_distribution":{"low":99927,"high":177867,"medium":120746,"critical":38751,"minimal":60441}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A07","name":"Identification and Authentication Failures","severity":"high","findings_count":3,"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":["Parameter 'login_errors' - Authentication-related parameter — verify login flow hardening","Parameter 'login_hint' - Authentication-related parameter — verify login flow hardening","Parameter 'login' - Authentication-related parameter — verify login flow hardening"]},{"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":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 'post_password' - Sensitive data exposure"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"post_password","locations":{"POST":[{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":979,"offset":36740,"snippet":"$_POST['post_password']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":979,"offset":36780,"snippet":"$_POST['post_password']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wpo365-msgraphmailer/tags/6.5/Pages/License_Page.php","line":531},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wpo365-msgraphmailer/tags/6.5/Pages/License_Page.php","line":531}],"A07":[{"type":"parameter","name":"login_errors","locations":{"GET":[{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Core/Shortcode_Helpers.php","line":588,"offset":21091,"snippet":"$_GET['login_errors']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Core/Shortcode_Helpers.php","line":589,"offset":21170,"snippet":"$_GET['login_errors']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Error_Service.php","line":45,"offset":1360,"snippet":"$_GET['login_errors']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Error_Service.php","line":50,"offset":1554,"snippet":"$_GET['login_errors']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"login_hint","locations":{"GET":[{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":85,"offset":3017,"snippet":"$_REQUEST['login_hint']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":86,"offset":3087,"snippet":"$_REQUEST['login_hint']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Id_Token_Service.php","line":140,"offset":4818,"snippet":"$_REQUEST['login_hint']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Id_Token_Service.php","line":141,"offset":4910,"snippet":"$_REQUEST['login_hint']"}],"POST":[{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":85,"offset":3017,"snippet":"$_REQUEST['login_hint']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":86,"offset":3087,"snippet":"$_REQUEST['login_hint']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Id_Token_Service.php","line":140,"offset":4818,"snippet":"$_REQUEST['login_hint']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Id_Token_Service.php","line":141,"offset":4910,"snippet":"$_REQUEST['login_hint']"}]},"risk":"Authentication-related parameter — verify login flow hardening"},{"type":"parameter","name":"login","locations":{"GET":[{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":976,"offset":36273,"snippet":"$_REQUEST['login']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":977,"offset":36440,"snippet":"$_REQUEST['login']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":977,"offset":36496,"snippet":"$_REQUEST['login']"}],"POST":[{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":976,"offset":36273,"snippet":"$_REQUEST['login']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":977,"offset":36440,"snippet":"$_REQUEST['login']"},{"file":"/plugins/wpo365-msgraphmailer/tags/6.5/Services/Authentication_Service.php","line":977,"offset":36496,"snippet":"$_REQUEST['login']"}]},"risk":"Authentication-related parameter — verify login flow hardening"}]}}