Preview E-mails for WooCommerce Security & Risk Analysis

wordpress.org/plugins/woo-preview-emails

An Extension for WooCommerce that allows you to Preview Email Templates.

30K active installs v2.2.14 PHP 7.4+ WP 6.1.0+ Updated Apr 21, 2025
emailspreviewwoocommerce
99
A · Safe
CVEs total2
Unpatched0
Last CVEMar 26, 2024
Safety Verdict

Is Preview E-mails for WooCommerce Safe to Use in 2026?

Generally Safe

Score 99/100

Preview E-mails for WooCommerce has a strong security track record. Known vulnerabilities have been patched promptly.

2 known CVEsLast CVE: Mar 26, 2024Updated 11mo ago
Risk Assessment

The "woo-preview-emails" v2.2.14 plugin exhibits a generally good security posture, with the code analysis indicating a lack of dangerous functions, proper use of prepared statements for SQL queries, and the presence of nonce and capability checks for its single AJAX handler. The taint analysis also reveals no critical or high-severity vulnerabilities, suggesting that input handling is reasonably secure. File operations and external HTTP requests are not present, further reducing the attack surface.

However, a significant concern arises from the plugin's vulnerability history, which shows two previously disclosed medium-severity vulnerabilities, both related to Cross-Site Scripting (XSS). While these are currently patched, the recurrence of XSS vulnerabilities, even at a medium level, points to potential weaknesses in output escaping or input sanitization that could be exploited if not diligently maintained. Although the static analysis reports 77% proper output escaping, the existence of past XSS flaws suggests that the remaining 23% or specific edge cases might have been the source of these vulnerabilities.

In conclusion, the plugin demonstrates strong adherence to secure coding practices in its current version, particularly in its handling of AJAX requests and database interactions. The absence of critical security signals in the static analysis is positive. Nevertheless, the historical prevalence of XSS vulnerabilities warrants caution and emphasizes the importance of continued vigilance in code reviews and testing for any future updates to ensure that these types of issues do not re-emerge.

Key Concerns

  • Past medium severity XSS vulnerabilities
  • Unescaped output detected (23%)
Vulnerabilities
2

Preview E-mails for WooCommerce Security Vulnerabilities

CVEs by Year

1 CVE in 2021
2021
1 CVE in 2024
2024
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2024-27999medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Preview E-mails for WooCommerce <= 2.2.1 - Reflected Cross-Site Scripting

Mar 26, 2024 Patched in 2.2.2 (43d)
CVE-2021-42363medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Preview E-Mails for WooCommerce <= 1.6.8 - Reflected Cross-Site Scripting

Nov 18, 2021 Patched in 2.0.0 (795d)
Code Analysis
Analyzed Mar 16, 2026

Preview E-mails for WooCommerce Code Analysis

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

Output Escaping

77% escaped44 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<form> (views\form.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Preview E-mails for WooCommerce Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_woo_preview_orders_searchincludes\AjaxHandler.php:18
WordPress Hooks 10
actionplugins_loadedincludes\Bootstrap.php:14
actioninitincludes\Bootstrap.php:15
actionadmin_menuincludes\Main.php:23
actioninitincludes\Main.php:24
actionadmin_initincludes\Main.php:26
actionadmin_enqueue_scriptsincludes\Main.php:27
filterplugin_action_links_woo-preview-emails/woocommerce-preview-emails.phpincludes\Main.php:28
actionbefore_woocommerce_initincludes\Main.php:31
filterwoocommerce_new_order_email_allows_resendincludes\Main.php:271
actionadmin_noticesincludes\Main.php:368
Maintenance & Trust

Preview E-mails for WooCommerce Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.0
Last updatedApr 21, 2025
PHP min version7.4
Downloads637K

Community Trust

Rating98/100
Number of ratings84
Active installs30K
Developer Profile

Preview E-mails for WooCommerce Developer Profile

digamberpradhan

1 plugin · 30K total installs

78
trust score
Avg Security Score
99/100
Avg Patch Time
419 days
View full developer profile
Detection Fingerprints

How We Detect Preview E-mails 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/woo-preview-emails/assets/main.js/wp-content/plugins/woo-preview-emails/assets/main.css/wp-content/plugins/woo-preview-emails/assets/style-main.css
Script Paths
/wp-content/plugins/woo-preview-emails/assets/main.js
Version Parameters
woo-preview-emails/assets/main.js?ver=woo-preview-emails/assets/main.css?ver=woo-preview-emails/assets/style-main.css?ver=

HTML / DOM Fingerprints

CSS Classes
woo-preview-emails-header
Data Attributes
data-codemanas-email-preview
JS Globals
woo_preview_emails_options
FAQ

Frequently Asked Questions about Preview E-mails for WooCommerce