Gmail Mailer Security & Risk Analysis

wordpress.org/plugins/wp-gmail-mailer

Send email using your Gmail account in WordPress via Gmail SMTP. Configure the wp_mail() function to use Gmail Mailer instead of the PHP mail() functi …

30 active installs v1.0.2 PHP + WP 5.8+ Updated Jul 22, 2021
emailgmailmailphpmailersmtp
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Gmail Mailer Safe to Use in 2026?

Generally Safe

Score 85/100

Gmail Mailer has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4yr ago
Risk Assessment

The "wp-gmail-mailer" v1.0.2 plugin exhibits a generally strong security posture based on the provided static analysis. The complete absence of AJAX handlers, REST API routes, shortcodes, and cron events with unprotected entry points is a significant positive. Furthermore, the plugin utilizes prepared statements for all its SQL queries, mitigating common SQL injection risks. The presence of a nonce check is also a good sign, indicating an attempt to protect against CSRF attacks on specific actions.

However, there are areas for improvement. The output escaping is only 48% properly handled, meaning a significant portion of dynamic output to the user could be vulnerable to cross-site scripting (XSS) attacks if user-supplied data is not sufficiently sanitized before being displayed. While the taint analysis shows no critical or high severity flows, one flow with an unsanitized path was identified. This specific flow warrants further investigation to understand its potential impact, even if it didn't reach critical severity in the analysis. The lack of capability checks on any entry points (though there are no unprotected entry points in this case) could become a concern if new entry points are added in the future without proper access control.

The plugin's vulnerability history is excellent, with no known CVEs recorded. This suggests a history of stable and secure development. However, a single instance of an unsanitized path in the taint analysis, coupled with the low output escaping percentage, indicates that the absence of historical vulnerabilities might be more due to luck or limited attack surface rather than an inherent, consistently robust security implementation. The plugin demonstrates good practices in critical areas like SQL and entry point protection but needs attention regarding output sanitization to achieve a truly comprehensive secure state.

Key Concerns

  • Low output escaping percentage
  • Flow with unsanitized path found
Vulnerabilities
None known

Gmail Mailer Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Gmail Mailer Release Timeline

No version history available.
Code Analysis
Analyzed Apr 16, 2026

Gmail Mailer Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
13
12 escaped
Nonce Checks
1
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

48% escaped25 total outputs
Data Flows · Security
1 unsanitized

Data Flow Analysis

3 flows1 with unsanitized paths
test_email_settings (main.php:117)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Gmail Mailer Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
filterplugin_action_linksmain.php:40
actionplugins_loadedmain.php:42
actionadmin_menumain.php:43
actionadmin_noticesmain.php:44
filterpre_wp_mailmain.php:45
Maintenance & Trust

Gmail Mailer Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedJul 22, 2021
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs30
Developer Profile

Gmail Mailer Developer Profile

Noor Alam

26 plugins · 156K total installs

74
trust score
Avg Security Score
93/100
Avg Patch Time
416 days
View full developer profile
Detection Fingerprints

How We Detect Gmail Mailer

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
nav-tab-active
FAQ

Frequently Asked Questions about Gmail Mailer