Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
4DescriptionCVE.org
The WP Mail Gateway plugin for WordPress is vulnerable to unauthorized access due to a missing capability check on the wmg_save_provider_config AJAX action in all versions up to, and including, 1.8. This makes it possible for authenticated attackers, with Subscriber-level access and above, to update SMTP settings and redirect mail which can be used for privilege escalation by triggering a password reset email and using that to access and administrator's account.
AnalysisAI
Missing capability check in WP Mail Gateway plugin for WordPress (versions ≤1.8) allows authenticated attackers with Subscriber-level privileges to modify SMTP settings via the wmg_save_provider_config AJAX action, enabling mail redirection. Attackers exploit this by redirecting password reset emails to attacker-controlled servers, then using intercepted credentials to escalate privileges to Administrator. CVSS 8.8 (High) reflects the severe impact despite requiring initial low-level authentication. No active exploitation confirmed via CISA KEV, but Wordfence reporting indicates discovery by security researchers and likely inclusion in their threat intelligence feeds.
Technical ContextAI
This vulnerability stems from CWE-862 (Missing Authorization), where the WP Mail Gateway plugin fails to validate user capabilities before processing AJAX requests to wmg_save_provider_config. WordPress AJAX handlers should implement capability checks using WordPress core functions like current_user_can() to ensure only privileged users (e.g., manage_options capability for administrators) can modify sensitive settings. The vulnerable code in Bootstrap.php (line 47) and Functions.php (line 111) exposes SMTP configuration parameters-including server address, port, authentication credentials-to any authenticated user. By manipulating these settings, attackers redirect WordPress outbound mail (password resets, admin notifications) to attacker-controlled SMTP servers, intercepting sensitive authentication tokens. This is a classic capability bypass in WordPress plugin architecture, where developers incorrectly assume AJAX nonces alone provide sufficient security without role-based access control.
RemediationAI
Upgrade WP Mail Gateway plugin to the patched version released after changeset 3515205 (exact version number requires verification from WordPress.org plugin repository-likely 1.9 or later based on typical WordPress versioning). The fix implements capability checks requiring manage_options permission before processing wmg_save_provider_config AJAX requests. Until patching, implement compensating controls: (1) Disable user registration in WordPress Settings → General → 'Anyone can register' to prevent attacker creation of Subscriber accounts-NOTE this breaks legitimate user registration workflows. (2) Use a Web Application Firewall (WAF) to block POST requests to /wp-admin/admin-ajax.php with action=wmg_save_provider_config from non-administrator sessions-requires session-aware WAF capable of parsing WordPress authentication cookies. (3) Audit existing SMTP settings in WP Mail Gateway configuration for unauthorized changes and reset to known-good values. (4) Review WordPress user accounts for suspicious Subscriber-level accounts created near the time of potential compromise. Official fix details: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3515205%40wp-mail-gateway&new=3515205%40wp-mail-gateway. Wordfence advisory: https://www.wordfence.com/threat-intel/vulnerabilities/id/c7caf1f4-a8dd-4016-91eb-2adbeed5290a.
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-26736