WP Reroute Email Security & Risk Analysis

wordpress.org/plugins/wp-reroute-email

This plugin reroutes all outgoing emails from a WordPress site (sent using the wp_mail() function) to a predefined configurable email address.

1K active installs v1.5.2 PHP + WP + Updated Jul 6, 2025
developer-tooldevelopment-serveremailmail
98
A · Safe
CVEs total3
Unpatched0
Last CVEJul 5, 2023
Safety Verdict

Is WP Reroute Email Safe to Use in 2026?

Generally Safe

Score 98/100

WP Reroute Email has a strong security track record. Known vulnerabilities have been patched promptly.

3 known CVEsLast CVE: Jul 5, 2023Updated 9mo ago
Risk Assessment

The 'wp-reroute-email' plugin v1.5.2 exhibits a mixed security posture. While the static analysis shows a commendable lack of direct attack surface through AJAX, REST API, shortcodes, or cron events, and a reasonable adherence to prepared statements for SQL queries, there are significant concerns. Specifically, the taint analysis revealed flows with unsanitized paths, and one high-severity taint flow. This, combined with a substantial vulnerability history including three known CVEs (two high, one medium) for Cross-Site Scripting, SQL Injection, and CSRF, strongly suggests a pattern of insecure coding practices in handling user-supplied or external data. The absence of capability checks in the static analysis is also a notable weakness, as it implies that even unprotected entry points (though none are identified here) could be vulnerable.

Despite the absence of unpatched CVEs at present, the plugin's past indicates a recurring tendency towards vulnerabilities that could be exploited by attackers. The high percentage of properly escaped outputs (62%) is a positive sign, but the remaining 38% are a potential source of XSS. The presence of two nonce checks is good, but only two for an unknown number of internal operations is minimal. The lack of direct external HTTP requests is a plus. Overall, while the plugin has mitigated some common WordPress vulnerabilities in this version, the historical pattern and the specific taint analysis findings warrant caution.

Key Concerns

  • High severity taint flow found
  • Flows with unsanitized paths found
  • Past high severity CVEs (2)
  • Past medium severity CVEs (1)
  • Output escaping not always proper (38% unescaped)
  • No capability checks identified
Vulnerabilities
3

WP Reroute Email Security Vulnerabilities

CVEs by Year

3 CVEs in 2023
2023
Patched Has unpatched

Severity Breakdown

High
2
Medium
1

3 total CVEs

CVE-2023-3168high · 7.2Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

WP Reroute Email <= 1.4.9 - Unauthenticated Stored Cross-Site Scripting via Email Subject

Jul 5, 2023 Patched in 1.5.0 (202d)
CVE-2023-27605high · 7.2Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

WP Reroute Email <= 1.4.6 - Authenticated (Administrator+) SQL Injection

Apr 14, 2023 Patched in 1.4.8 (284d)
CVE-2023-27606medium · 4.3Cross-Site Request Forgery (CSRF)

WP Reroute Email <= 1.4.6 - Cross-Site Request Forgery

Apr 14, 2023 Patched in 1.4.8 (284d)
Code Analysis
Analyzed Mar 16, 2026

WP Reroute Email Code Analysis

Dangerous Functions
0
Raw SQL Queries
3
6 prepared
Unescaped Output
34
55 escaped
Nonce Checks
2
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

67% prepared9 total queries

Output Escaping

62% escaped89 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

3 flows2 with unsanitized paths
search_box (includes\class-wp-list-table.php:346)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

WP Reroute Email Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 10
actionadmin_footerincludes\class-wp-list-table.php:157
actioninitwp-reroute-email.php:32
actioninitwp-reroute-email.php:33
actionadmin_menuwp-reroute-email.php:34
actionphpmailer_initwp-reroute-email.php:35
actionadmin_enqueue_scriptswp-reroute-email.php:36
actionadmin_noticeswp-reroute-email.php:37
filterplugin_action_linkswp-reroute-email.php:44
filterwp_mailwp-reroute-email.php:45
filterwpre_ignore_emailwp-reroute-email.php:46
Maintenance & Trust

WP Reroute Email Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJul 6, 2025
PHP min version
Downloads28K

Community Trust

Rating100/100
Number of ratings9
Active installs1K
Developer Profile

WP Reroute Email Developer Profile

Sajjad Hossain

2 plugins · 2K total installs

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

How We Detect WP Reroute Email

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-reroute-email/css/wp-reroute-email-styles.css
Script Paths
/wp-content/plugins/wp-reroute-email/js/wp-reroute-email.js
Version Parameters
wp-reroute-email.jswp-reroute-email-styles.css

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about WP Reroute Email