Home

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 Reserved 2026-02-15 | Published 2026-03-18 | Updated 2026-04-08 | Assigner Wordfence




MEDIUM: 5.3CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Problem types

CWE-862 Missing Authorization

Product status

Default status
unaffected

Any version
affected

Timeline

2026-02-15:Vendor Notified
2026-03-17:Disclosed

Credits

Michael Iden finder

References

www.wordfence.com/...-fbfe-4923-8b08-93c1fcabc016?source=cve

plugins.trac.wordpress.org/...k/Postman/Wizard/NewWizard.php

plugins.trac.wordpress.org/...k/Postman/Wizard/NewWizard.php

plugins.trac.wordpress.org/changeset/3484515/

cve.org (CVE-2026-2559)

nvd.nist.gov (CVE-2026-2559)

Download JSON