CVE-2026-2559 Details
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.
A vulnerability exists in the Post SMTP plugin for WordPress, specifically in versions through 3.8.0. The issue arises from a lack of proper capability checks in the 'handle_office365_oauth_redirect()' function, which is triggered during the 'admin_init' action. This oversight allows authenticated attackers with Subscriber-level access or higher to manipulate the site's Office 365 OAuth mail settings. By sending a crafted URL, these attackers can overwrite critical configuration details, including the access token, refresh token, and user email. This vulnerability is particularly concerning as it could mislead an Administrator into believing that an attacker-controlled Azure application is legitimate, potentially leading to unauthorized access during the setup process for Microsoft 365 SMTP, available in the Pro version of the plugin.
Users are advised to update the Post SMTP WordPress plugin to version 3.9.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 18, 2026CISA-ADP
Assessed Mar 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Post SMTP | <= 3.8.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 18, 2026 | New CVE Received | [email protected] |
Volerion