CVE-2026-2559: CWE-862 Missing Authorization in saadiqbal Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App
The Post SMTP plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the `handle_office365_oauth_redirect()` function in all versions up to, and including, 3.8.0. This is due to the function being hooked to `admin_init` without any `current_user_can()` check or nonce verification. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the site's Office 365 OAuth mail configuration (access token, refresh token, and user email) via a crafted URL. The configuration option is used during wizard setup of Microsoft365 SMTP, only available in the Pro option of the plugin. This could cause an Administrator to believe an attacker-controlled Azure app is their own, and lead them to connect the plugin to the attacker's account during configuration after upgrading to Pro.
AI Analysis
Technical Summary
The Post SMTP plugin for WordPress contains a missing authorization vulnerability (CWE-862) in the handle_office365_oauth_redirect() function, which is hooked to admin_init without verifying user capabilities or nonces. This allows authenticated users with low privileges (Subscriber and above) to modify Office 365 OAuth configuration settings, including access tokens, refresh tokens, and user email, by sending a crafted URL. This configuration is used during the Microsoft365 SMTP wizard setup, which is only available in the Pro version of the plugin. Exploitation could cause an administrator to unknowingly connect the plugin to an attacker-controlled Azure application, potentially compromising email delivery settings. The vulnerability affects all versions up to and including 3.8.0. A patch is available to fix this issue.
Potential Impact
An attacker with Subscriber-level access or higher can overwrite critical Office 365 OAuth configuration settings in the plugin, potentially redirecting email delivery through attacker-controlled credentials. This could lead to unauthorized control over email sending capabilities configured via the plugin, misleading administrators during setup and possibly enabling further attacks on email infrastructure. There is no indication of impact on confidentiality or availability, but integrity of email configuration is compromised.
Mitigation Recommendations
A patch is available for this vulnerability. Users of the Post SMTP plugin should update to the fixed version beyond 3.8.0 as soon as possible to prevent unauthorized modification of Office 365 OAuth settings. Until patched, restrict plugin access to trusted users only and monitor for suspicious configuration changes. No vendor advisory content contradicts these recommendations.
CVE-2026-2559: CWE-862 Missing Authorization in saadiqbal Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App
Description
The Post SMTP plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the `handle_office365_oauth_redirect()` function in all versions up to, and including, 3.8.0. This is due to the function being hooked to `admin_init` without any `current_user_can()` check or nonce verification. This makes it possible for authenticated attackers, with Subscriber-level access and above, to overwrite the site's Office 365 OAuth mail configuration (access token, refresh token, and user email) via a crafted URL. The configuration option is used during wizard setup of Microsoft365 SMTP, only available in the Pro option of the plugin. This could cause an Administrator to believe an attacker-controlled Azure app is their own, and lead them to connect the plugin to the attacker's account during configuration after upgrading to Pro.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Post SMTP plugin for WordPress contains a missing authorization vulnerability (CWE-862) in the handle_office365_oauth_redirect() function, which is hooked to admin_init without verifying user capabilities or nonces. This allows authenticated users with low privileges (Subscriber and above) to modify Office 365 OAuth configuration settings, including access tokens, refresh tokens, and user email, by sending a crafted URL. This configuration is used during the Microsoft365 SMTP wizard setup, which is only available in the Pro version of the plugin. Exploitation could cause an administrator to unknowingly connect the plugin to an attacker-controlled Azure application, potentially compromising email delivery settings. The vulnerability affects all versions up to and including 3.8.0. A patch is available to fix this issue.
Potential Impact
An attacker with Subscriber-level access or higher can overwrite critical Office 365 OAuth configuration settings in the plugin, potentially redirecting email delivery through attacker-controlled credentials. This could lead to unauthorized control over email sending capabilities configured via the plugin, misleading administrators during setup and possibly enabling further attacks on email infrastructure. There is no indication of impact on confidentiality or availability, but integrity of email configuration is compromised.
Mitigation Recommendations
A patch is available for this vulnerability. Users of the Post SMTP plugin should update to the fixed version beyond 3.8.0 as soon as possible to prevent unauthorized modification of Office 365 OAuth settings. Until patched, restrict plugin access to trusted users only and monitor for suspicious configuration changes. No vendor advisory content contradicts these recommendations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-02-15T19:05:42.476Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69bac82e771bdb1749ab0140
Added to database: 3/18/2026, 3:43:42 PM
Last enriched: 4/9/2026, 6:42:53 PM
Last updated: 5/2/2026, 8:09:57 AM
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.