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.
Published: 2026-10-31
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting allowing arbitrary script execution on accessed pages
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Sat, 31 Oct 2026 08:00:00 +0000

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.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-31T07:46:52.028Z

Reserved: 2026-10-08T19:00:47.678Z

Link: CVE-2026-107759

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-31T08:16:48.033

Modified: 2026-10-31T08:16:48.033

Link: CVE-2026-107759

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-31T09:30:14Z

Weaknesses
  • CWE-79

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