Mailtrap for WordPress Security & Risk Analysis

wordpress.org/plugins/mailtrap-for-wp

Easily test your wordpress emails without spamming real customers using mailtrap.io.

400 active installs v0.7 PHP + WP 3.0+ Updated Nov 21, 2020
emailemail-testmailtrapmailtrap-for-wpsmtp
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Mailtrap for WordPress Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 5yr ago
Risk Assessment

The "mailtrap-for-wp" v0.7 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of known CVEs and a clean vulnerability history suggest a well-maintained and secure plugin. The attack surface is commendably small, with no AJAX handlers, REST API routes, shortcodes, or cron events exposed directly, and importantly, no unprotected entry points are identified. The code also demonstrates good practices by exclusively using prepared statements for its SQL queries. However, a significant concern arises from the code analysis indicating that only 12% of outputs are properly escaped. This low percentage suggests a high risk of Cross-Site Scripting (XSS) vulnerabilities, where unescaped data could be injected into the WordPress admin area or frontend, potentially leading to unauthorized actions or data theft.

The taint analysis, while limited to one flow, did identify a flow with an unsanitized path, which is a critical signal for potential security weaknesses. Although categorized as 'low severity' in the provided data, unsanitized paths can be a precursor to more severe issues if not addressed. The presence of external HTTP requests and a single nonce check also warrant attention, as these are common vectors for certain types of attacks if not implemented securely. Despite the promising lack of known vulnerabilities and a minimal attack surface, the high proportion of unescaped output and the identified unsanitized path represent tangible security risks that require immediate attention and remediation.

Key Concerns

  • Low percentage of properly escaped output
  • Flow with unsanitized path identified
Vulnerabilities
None known

Mailtrap for WordPress Security Vulnerabilities

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

Mailtrap for WordPress Release Timeline

v0.7Current
v0.6
v0.4
v0.3
v0.2
v0.1
Code Analysis
Analyzed Mar 16, 2026

Mailtrap for WordPress Code Analysis

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

Output Escaping

12% escaped49 total outputs
Data Flows · Security
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<inbox> (includes\inbox.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Mailtrap for WordPress Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionphpmailer_initmailtrap-for-wp.php:54
actionadmin_menumailtrap-for-wp.php:55
actionadmin_initmailtrap-for-wp.php:56
actionwp_mail_failedmailtrap-for-wp.php:57
filterwp_mail_frommailtrap-for-wp.php:59
filterwp_mail_from_namemailtrap-for-wp.php:60
actionplugins_loadedmailtrap-for-wp.php:266
Maintenance & Trust

Mailtrap for WordPress Maintenance & Trust

Maintenance Signals

WordPress version tested5.5.18
Last updatedNov 21, 2020
PHP min version
Downloads21K

Community Trust

Rating100/100
Number of ratings3
Active installs400
Developer Profile

Mailtrap for WordPress Developer Profile

Eduardo Marcolino

2 plugins · 490 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Mailtrap for WordPress

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/mailtrap-for-wp/assets/css/bootstrap.min.css/wp-content/plugins/mailtrap-for-wp/assets/css/mailtrap.css/wp-content/plugins/mailtrap-for-wp/assets/js/bootstrap.min.js/wp-content/plugins/mailtrap-for-wp/assets/js/mailtrap.js
Script Paths
/wp-content/plugins/mailtrap-for-wp/assets/js/mailtrap.js/wp-content/plugins/mailtrap-for-wp/assets/js/bootstrap.min.js

HTML / DOM Fingerprints

CSS Classes
mailtrap-settings-sectionmailtrap-settings-fieldmailtrap-test-sectionmailtrap-inbox-section
HTML Comments
<!-- Mailtrap for WordPress Settings Page --><!-- Mailtrap for WordPress Test Page --><!-- Mailtrap for WordPress Inbox Page -->
Data Attributes
data-toggledata-target
JS Globals
mailtrap_api_tokenmailtrap_inbox_id
REST Endpoints
/wp-json/mailtrap-for-wp/v1/test
FAQ

Frequently Asked Questions about Mailtrap for WordPress