{"summary":{"plugin_name":"wp-mail-logging","display_name":"WP Mail Logging","version":"1.17.1","risk_level":"medium","risk_score":30.0,"risk_factors":{"static_analysis":10,"owasp":5,"attack_surface":10,"superglobal_density":10,"installs_modifier":-5},"last_analyzed":"2026-11-23T12:15:45.965772","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":300000,"rating":94,"num_ratings":377,"tested":"7.1.5","requires":"5.3","requires_php":"7.4","author":"Syed Balkhi","short_description":"Log, view, and resend all emails sent from your WordPress site. Great for resolving email sending issues or keeping a copy for auditing.","tags":["deliverability","email","email log","smtp","spam"],"added":"2014-06-13","last_updated":"2026-10-14 10:57am GMT","metadata_fetched_at":"2026-11-22T04:49:10.451934+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.17.1"},"security_metrics":{"total_issues":31,"parameters_found":43,"unknown_parameters":2,"headers_accessed":3,"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":{"A01":1,"A03":17,"A04":1},"attack_surface_level":"medium","attack_surface_score":45,"tainted_sinks":9,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":68.6,"rank":153114,"peer_count":487063,"better_than":68.6,"risk_distribution":{"high":176996,"critical":38283,"medium":118671,"low":95210,"minimal":57903}},"executive_summary":null,"vulnerabilities":[{"id":"8ff377db-08f9-4d98-af49-43dcbfcd98b5","title":"WP Mail Logging <= 1.8.2 - Stored Cross-Site Scripting","created_at":"2017-11-13T08:55:34.000Z","updated_at":"2019-11-01T11:00:26.000Z","published_date":"2017-11-11T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://postmansmtp.com/post-smtp-full-email-log-preview-security/","https://plugins.trac.wordpress.org/changeset/1763297/wp-mail-logging"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.8.3","introduced_in":null},{"id":"66616623-0c80-4b95-a8de-5d7f8c6a57b3","title":"WP Mail Logging < 1.10.0 - Outdated Redux Framework","created_at":"2021-11-29T08:32:23.000Z","updated_at":"2022-04-10T07:06:34.000Z","published_date":"2021-11-29T00:00:00.000Z","vuln_type":"ACCESS CONTROLS","references":{"cve":["2021-38314"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.10.0","introduced_in":null},{"id":"34e9d9a7-3d2f-432b-9b7f-645c0472e399","title":"WP Mail Logging < 1.11.2 - Unauthenticated Stored Cross-Site Scripting","created_at":"2023-07-12T15:02:58.000Z","updated_at":"2023-07-12T15:02:58.000Z","published_date":"2023-06-08T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/ef20b3e6-d8f4-458e-b604-b46ef16e229e"],"cve":["2023-3081"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.11.2","introduced_in":null},{"id":"bd427b5d-94cc-49a1-9822-6260935a996b","title":"WP Mail Logging < 1.16 - Unauthenticated PHP Object Injection via Email Log Message Field","created_at":"2026-02-27T21:12:54.000Z","updated_at":"2026-07-18T23:30:15.000Z","published_date":"2026-02-27T00:00:00.000Z","vuln_type":"OBJECT INJECTION","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/10e4c52d-c82f-4393-9a56-5714b3a108d1"],"cve":["2026-2471"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.16","introduced_in":null},{"id":"dde19119-7ea8-4d02-bf89-7a6b0ca010b5","title":"WP Mail Logging < 1.17.0 - Unauthenticated HTML Injection","created_at":"2026-09-28T14:00:18.000Z","updated_at":"2026-09-28T14:00:18.000Z","published_date":"2026-09-28T00:00:00.000Z","vuln_type":"INJECTION","references":{"cve":["2026-1661"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.17.0","introduced_in":null},{"id":"5e5cd6af-8232-4b6d-b9ed-0e3faf624b63","title":"WP Mail Logging < 1.17.1 - Authenticated (Administrator+) Sensitive Information Exposure in LIKE Wildcard in Personal Data Export Email","created_at":"2026-10-15T18:44:28.000Z","updated_at":"2026-10-16T07:42:04.000Z","published_date":"2026-10-15T17:40:36.000Z","vuln_type":"SENSITIVE DATA DISCLOSURE","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/f2b96f36-090d-4ed3-aa2c-dafa89d255cc"],"cve":["2026-109401"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.17.1","introduced_in":null}],"recommendations":[{"category":"A03","name":"Injection","severity":"critical","findings_count":17,"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 $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo"]},{"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":["Pattern 'nopriv_no_nonce' x1 - Nopriv AJAX handler without nonce verification (1 occurrence(s))"]},{"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":"pattern_match","pattern":"nopriv_no_nonce","count":1,"severity":"high","examples":["src/WPML_LifeCycle.php:191"],"risk":"Nopriv AJAX handler without nonce verification (1 occurrence(s))"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/lib/vendor/brandonwamboldt/wp-orm/src/Admin/ListTable.php","line":183},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/lib/vendor/brandonwamboldt/wp-orm/src/Admin/ListTable.php","line":187},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/lib/vendor/brandonwamboldt/wp-orm/src/Admin/ListTable.php","line":191},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/lib/vendor/brandonwamboldt/wp-orm/src/Admin/ListTable.php","line":195},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/lib/vendor/brandonwamboldt/wp-orm/src/Admin/ListTable.php","line":389},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on <?=","file":"/plugins/wp-mail-logging/tags/1.17.1/lib/vendor/brandonwamboldt/wp-orm/views/list-table.php","line":60},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/lib/vendor/brandonwamboldt/wp-orm/views/list-table.php","line":63},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/lib/vendor/brandonwamboldt/wp-orm/views/list-table.php","line":63},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/src/WPML_Email_Log_List.php","line":510},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/src/WPML_OptionsManager.php","line":574},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/src/inc/Admin/EmailLogsTab.php","line":720},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/src/inc/class-wp-list-table.php","line":210},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/src/inc/class-wp-list-table.php","line":212},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/src/inc/class-wp-list-table.php","line":214},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/src/inc/class-wp-list-table.php","line":216},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/wp-mail-logging/tags/1.17.1/src/inc/class-wp-list-table.php","line":448},{"type":"reachability_sink","sink":"file_include","count":9,"risk":"9 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":15,"risk":"15 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}]}}