Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRegister Subscriber account
-
DeliveryAuthenticate to WordPress
-
ExploitSend crafted AJAX request to wmg_save_provider_config
-
InstallRedirect SMTP to attacker server
-
C2Trigger admin password reset
-
ExecuteIntercept reset email
-
ImpactCompromise administrator account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated WordPress user account with Subscriber-level privileges or higher. WordPress sites with open user registration (Settings → General → 'Anyone can register' enabled) allow attackers to create the required Subscriber account without prior access. Sites with closed registration are vulnerable only if attacker can compromise an existing low-privilege account through credential stuffing, phishing, or other means. The WP Mail Gateway plugin must be installed and active-no special SMTP provider configuration required as the vulnerability exists in the AJAX handler itself, not provider-specific code. Exploitation is NOT limited by network factors: AV:N indicates remote exploitation from any network location. AC:L confirms no special timing, race conditions, or environmental prerequisites. UI:N means no administrator interaction required-attacker-controlled AJAX request alone achieves SMTP reconfiguration. LIMITING FACTOR: Sites without WP Mail Gateway plugin installed are not affected (obviates the vulnerability entirely). Sites with Web Application Firewalls performing WordPress-aware authorization checks may block unauthorized AJAX actions if WAF rules inspect user roles. |
| Impact | Real-world risk is HIGH and actionable despite no confirmed active exploitation. CVSS 8.8 accurately reflects impact: AV:N (network-exploitable against any internet-facing WordPress site), AC:L (low complexity-simple AJAX request), PR:L (requires authenticated account but WordPress subscriber registration is often open), UI:N (no user interaction needed post-authentication). The privilege escalation path is deterministic and fully automated: create subscriber account → modify SMTP settings → trigger password reset for admin → intercept email → compromise admin account. EPSS data not provided, but similar WordPress authentication bypass vulnerabilities typically score 10-30% exploitation probability within 30 days of disclosure. The availability of source code references (WordPress plugin repository trac links showing exact vulnerable lines) significantly lowers exploitation barrier-security researchers and attackers can craft working exploits by examining the changeset diff. Wordfence reporting suggests responsible disclosure occurred, but publicly accessible source code means exploitation window is open until sites patch. CRITICAL GAPS: Patch version number not explicitly stated in references-changeset 3515205 indicates a fix exists but released version number requires verification from WordPress plugin repository. No confirmation whether default WordPress installations are vulnerable or if plugin requires specific SMTP provider configurations. |
| Exploit ScenarioDerived | An external attacker registers a free Subscriber account on a WordPress site running WP Mail Gateway 1.8 or earlier (common when membership features or comment registration are enabled). Using authenticated session credentials, the attacker crafts a POST request to /wp-admin/admin-ajax.php with action=wmg_save_provider_config, modifying SMTP server settings to point to attacker-controlled infrastructure (smtp.attacker.com). The attacker then triggers a password reset for the site administrator account via the standard WordPress login form. The password reset email routes through the malicious SMTP server, where the attacker intercepts the reset token, completes the password reset process, and gains full administrative access to the WordPress site. No exploit code required beyond basic HTTP request manipulation-publicly available source code references provide complete implementation details for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 02, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when WordPress gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.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.
Executive ViewAI
WP Mail Gateway plugin (versions 1.8 and earlier) contains a privilege escalation vulnerability allowing low-level WordPress users to redirect site emails and intercept password reset tokens, potentially leading to full site compromise. Organizations running affected versions face immediate risk of administrator account takeover and unauthorized access to sensitive communications, requiring urgent remediation before the vulnerability is weaponized.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable WP Mail Gateway plugin immediately; (2) Restrict SMTP configuration access via database-level permissions or WAF rules blocking wmg_save_provider_config action from Subscriber/Contributor roles; (3) Implement SMTP authentication logging and alert on mail redirection changes; (4) Enforce multi-factor authentication on all WordPress accounts to prevent credential-based takeover; (5) Monitor for unauthorized email forwarding rules in server logs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
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
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
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 SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
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
Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r
EUVD-2026-26736
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB