SmartrMail – Email Marketing for WooCommerce Security & Risk Analysis

wordpress.org/plugins/smartrmail-personalized-email-marketing

SmartrMail lets you send personalized shopping emails, to get more sales

40 active installs v2.2.6 PHP 7.1+ WP 4.7+ Updated May 14, 2024
ecommerceemailemail-marketingnewsletterwelcome-email
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is SmartrMail – Email Marketing for WooCommerce Safe to Use in 2026?

Generally Safe

Score 92/100

SmartrMail – Email Marketing for WooCommerce has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The "smartrmail-personalized-email-marketing" plugin v2.2.6 exhibits a concerning security posture due to a significant number of unprotected entry points. All 5 identified entry points, including both AJAX handlers and REST API routes, lack proper authorization checks. This exposes the plugin to potential unauthorized access and manipulation. Furthermore, the presence of the dangerous `unserialize` function, coupled with a high-severity taint flow with an unsanitized path, indicates a potential for arbitrary code execution or data manipulation if these functions are triggered with malicious input.

The static analysis reveals a lack of robust security practices, with no nonce checks and only one capability check across all entry points. While the plugin shows some good practices, like the majority of SQL queries using prepared statements and a moderate rate of proper output escaping, these strengths are overshadowed by the critical vulnerabilities in its access control and data handling. The absence of any recorded CVEs or past vulnerabilities is a positive sign, suggesting a lack of previously discovered exploits. However, this does not mitigate the immediate risks identified in the current version's code.

In conclusion, while the plugin has not historically been a target for known vulnerabilities, the current version presents significant security risks due to its unprotected attack surface and potential for code execution. Immediate attention is required to implement proper authentication and authorization mechanisms for all AJAX and REST API endpoints, and to carefully review and sanitize any data processed by the `unserialize` function and the identified unsanitized taint flow.

Key Concerns

  • AJAX handlers without auth checks
  • REST API routes without permission callbacks
  • Dangerous function: unserialize
  • Taint flow with unsanitized path (high severity)
  • No nonce checks
  • Only 1 capability check
Vulnerabilities
None known

SmartrMail – Email Marketing for WooCommerce Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

SmartrMail – Email Marketing for WooCommerce Code Analysis

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

Dangerous Functions Found

unserialize'items' => unserialize($value->cart_meta)src\Controllers\AbandonedCarts.php:104
unserialize$woocommerce->session->cart = unserialize($data->cart_meta)[0]['cart'];src\Controllers\CartLinkController.php:233

SQL Query Safety

60% prepared10 total queries

Output Escaping

53% escaped15 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

2 flows1 with unsanitized paths
<CartLinkController> (src\Controllers\CartLinkController.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface
5 unprotected

SmartrMail – Email Marketing for WooCommerce Attack Surface

Entry Points5
Unprotected5

AJAX Handlers 2

authwp_ajax_SendJSONsrc\Controllers\AdminController.php:53
noprivwp_ajax_SendJSONsrc\Controllers\AdminController.php:54

REST API Routes 3

GET/wp-json/swi-api/v3/abandoned-cartssrc\Controllers\AbandonedCarts.php:59
DELETE/wp-json/swi-api/v3/delete-abandonedsrc\Controllers\AbandonedCarts.php:67
PUT/wp-json/swi-api/v1/javascriptsrc\Controllers\AdminController.php:59
WordPress Hooks 16
actionwp_loadedsmartrmail-woocommerce-integration.php:31
actionwp_enqueue_scriptssmartrmail-woocommerce-integration.php:35
actionwp_enqueue_scriptssmartrmail-woocommerce-integration.php:50
actionrest_api_initsmartrmail-woocommerce-integration.php:53
actionwoocommerce_cart_emptiedsrc\Controllers\AbandonedCarts.php:29
actionwoocommerce_add_to_cartsrc\Controllers\AbandonedCarts.php:30
actionwoocommerce_cart_item_removedsrc\Controllers\AbandonedCarts.php:31
actionwoocommerce_cart_item_restoredsrc\Controllers\AbandonedCarts.php:32
actionwoocommerce_after_cart_item_quantity_updatesrc\Controllers\AbandonedCarts.php:33
actionwoocommerce_thankyousrc\Controllers\AbandonedCarts.php:34
actionrest_api_initsrc\Controllers\AbandonedCarts.php:58
actionadmin_menusrc\Controllers\AdminController.php:32
actionadmin_enqueue_scriptssrc\Controllers\AdminController.php:44
actionrest_api_initsrc\Controllers\AdminController.php:58
actionwoocommerce_checkout_update_order_metasrc\Controllers\CartLinkController.php:27
actionwoocommerce_cart_actionssrc\Controllers\CartLinkController.php:32
Maintenance & Trust

SmartrMail – Email Marketing for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.5.8
Last updatedMay 14, 2024
PHP min version7.1
Downloads7K

Community Trust

Rating100/100
Number of ratings3
Active installs40
Developer Profile

SmartrMail – Email Marketing for WooCommerce Developer Profile

marcosteixeira

1 plugin · 40 total installs

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

How We Detect SmartrMail – Email Marketing for WooCommerce

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/smartrmail-personalized-email-marketing/assets/js/smartrmail_popup.js/wp-content/plugins/smartrmail-personalized-email-marketing/assets/js/main.js/wp-content/plugins/smartrmail-personalized-email-marketing/assets/css/style.css
Script Paths
wp-content/plugins/smartrmail-personalized-email-marketing/assets/js/smartrmail_popup.jswp-content/plugins/smartrmail-personalized-email-marketing/assets/js/main.js
Version Parameters
smartrmail-personalized-email-marketing/assets/js/main.js?ver=3.2.1smartrmail-personalized-email-marketing/assets/css/style.css?ver=1.0.0

HTML / DOM Fingerprints

CSS Classes
smartrmail-api
Data Attributes
data-smartrmail-url
JS Globals
smartrmail_localizeWooCommerce
REST Endpoints
/wp-json/swi-api/v1/javascript/wp-json/smartrmail/v1/customers/wp-json/smartrmail/v1/products
FAQ

Frequently Asked Questions about SmartrMail – Email Marketing for WooCommerce