CVE-2026-107759: WPO365 | MICROSOFT 365 GRAPH MAILER <= 6.2 - Unauthenticated Stored Cross-Site Scripting via Email Subject via wp_mail

Published Oct 31, 2026
·
Updated

The WPO365 | MICROSOFT 365 GRAPH MAILER plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Subject (via wpmail/PHPMailer, e.g. CF7 your-subject)' parameter in all versions up to, and including, 6.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload is stored without authentication via any mail-sending feature that forwards a submitter-controlled subject (e.g. a Contact Form 7 form) when the Graph Mailer is enabled but OAuth authorization has not been completed, a default state immediately after plugin activation.

Affected Software

1 affected component
WPO365 MICROSOFT 365 GRAPH MAILER<=6.2

Event History

Oct 31, 2026
CVE Published
via MITRE·07:46 AM
Data Sourced
via MITRE·07:46 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are most exposed to this issue?

WordPress sites using WPO365 | MICROSOFT 365 GRAPH MAILER version 6.2 or earlier are exposed when Graph Mailer is enabled and OAuth authorization has not been completed. This is the default state immediately after plugin activation, particularly where a mail-sending form forwards a visitor-controlled subject.

2

What does an attacker need to exploit it?

An attacker does not need authentication or user interaction to submit the payload. They need access to a mail-sending feature, such as a Contact Form 7 form, that passes a submitter-controlled subject through wp_mail/PHPMailer while the affected Graph Mailer configuration is enabled.

3

When would the injected script execute?

The script is stored and executes when a user accesses an injected page. Successful exploitation can affect confidentiality and integrity, as reflected by the CVSS vector’s low confidentiality and integrity impacts.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203