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.
Published: 2026-03-18
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Impersonation / Misconfiguration
Action: Patch
AI Analysis

Impact

The Post SMTP plugin for WordPress allows any authenticated user with Subscriber-level access or higher to overwrite the site's Office 365 OAuth mail configuration. This is caused by the handle_office365_oauth_redirect() function being hooked to admin_init without a current_user_can() check or nonce verification. As a result, attackers can provide a crafted URL that writes new access token, refresh token, and user email values into the plugin's configuration. The vulnerability is an access‑control failure (CWE‑862) that enables unauthorized modification of critical email settings and could lead to an administrator believing an attacker‑controlled Azure app is legitimate. This may allow the attacker to redirect mail traffic or compromise the site’s email delivery based on the overwritten configuration.

Affected Systems

The vulnerability affects the WordPress plugin saadiqbal:Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App. All supported plugin releases up to and including version 3.8.0 are vulnerable. Versions 3.8.1 and newer contain the fix and are not affected.

Risk and Exploitability

The CVSS v3.1 score is 5.3, indicating a medium severity impact. No EPSS score is available, and the weakness is not listed in the CISA Known Exploited Vulnerabilities catalog. The exploit requires a valid authenticated WordPress session with a role of Subscriber or higher, and the attacker must construct a URL that triggers the admin_init hook. Because it only affects users that already have some level of access, the risk is limited to compromised or low‑privilege accounts rather than unauthenticated public exposure. Nonetheless, the potential for an attacker to disguise themselves as an administrator and reconfigure Office 365 settings means that sites with active Office 365 integration should treat it as a moderate positive risk until patched.

Generated by OpenCVE AI on March 18, 2026 at 16:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Post SMTP plugin to a version that includes the patch (>= 3.8.1).
  • If an immediate update is not possible, remove or disable the plugin’s Office 365 OAuth configuration options, or restrict Subscriber+ roles from accessing the admin area until the update is applied.

Generated by OpenCVE AI on March 18, 2026 at 16:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 19 Mar 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Saadiqbal
Saadiqbal post Smtp – Complete Email Deliverability And Smtp Solution With Email Logs, Alerts, Backup Smtp & Mobile App
Wordpress
Wordpress wordpress
Vendors & Products Saadiqbal
Saadiqbal post Smtp – Complete Email Deliverability And Smtp Solution With Email Logs, Alerts, Backup Smtp & Mobile App
Wordpress
Wordpress wordpress

Wed, 18 Mar 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 18 Mar 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title Post SMTP <= 3.8.0 - Missing Authorization to Authenticated (Subscriber+) Office 365 OAuth Configuration Overwrite
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

Saadiqbal Post Smtp – Complete Email Deliverability And Smtp Solution With Email Logs, Alerts, Backup Smtp & Mobile App
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:45:16.533Z

Reserved: 2026-02-15T19:05:42.476Z

Link: CVE-2026-2559

cve-icon Vulnrichment

Updated: 2026-03-18T17:06:28.181Z

cve-icon NVD

Status : Deferred

Published: 2026-03-18T16:16:27.217

Modified: 2026-04-22T21:32:08.360

Link: CVE-2026-2559

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-24T10:58:38Z

Weaknesses