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 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
The WPO365 | MICROSOFT 365 GRAPH MAILER plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Subject (via wp_mail/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.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to embed malicious JavaScript into the email subject field which is sent through wp_mail/PHPMailer. When the Graph Mailer forwards this user‑controlled subject to a recipient, the script persists in the message and is executed whenever a user views the affected page. This stored XSS can be used for session hijacking, cookie theft, defacement, or delivery of additional payloads. The flaw arises from insufficient input sanitization and output escaping, enabling attackers to inject scripts without any authentication.

Affected Systems

Any WordPress site running the WPO365 | MICROSOFT 365 GRAPH MAILER plugin up to and including version 6.2 is affected.

Risk and Exploitability

The CVSS score of 7.2 indicates a high impact severity. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog, but the lack of authentication requirement and the stored nature of the payload make exploitation straightforward. An unauthenticated attacker can craft an email with a malicious Subject header via any mail‑sending feature that forwards user input. If the Graph Mailer is enabled immediately after plugin activation, OAuth has not yet been completed, providing a vulnerable default state. Consequently, the risk of exploitation is moderate to high for sites that enable the plugin without remedial actions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the WPO365 | MICROSOFT 365 GRAPH MAILER plugin to a version newer than 6.2 that fixes the XSS flaw.
  • If an upgrade cannot be performed immediately, disable the Graph Mailer feature or the entire plugin until the issue is resolved, or enforce completion of OAuth authorization before any email is sent.
  • Implement additional input validation or a Web Application Firewall rule that rejects or sanitizes script tags in the email Subject field to mitigate the impact until a patch is available.

Generated by OpenCVE AI on October 31, 2026 at 09:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The WPO365 | MICROSOFT 365 GRAPH MAILER plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Subject (via wp_mail/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.
Title WPO365 | MICROSOFT 365 GRAPH MAILER <= 6.2 - Unauthenticated Stored Cross-Site Scripting via Email Subject via wp_mail
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 1, 2026, 5:44 PM
Reserved
Oct 8, 2026, 7:00 PM
Status
Deferred
Published
Oct 31, 2026, 8:16 AM
Modified
Nov 2, 2026, 4:19 PM