---
id: CVE-2026-107759
title: >-
  WPO365 | MICROSOFT 365 GRAPH MAILER <= 6.2 - Unauthenticated Stored Cross-Site
  Scripting via Email Subject via wp_mail
summary: >-
  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
  insuffi…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: wpo365
product: WPO365 | MICROSOFT 365 GRAPH MAILER
affected:
  - microsoft_365_graph_mailer <= 6.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-01T17:34:15.381772Z'
published: '2026-10-31'
updated: '2026-11-01'
sourceUpdated: '2026-11-01T17:44:27.569Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-107759'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/d51ba0c2-588d-4241-977a-9649cb77c78e?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpo365-msgraphmailer/tags/6.1/apps/dist/wizard-chunk-G9IB6WhS.js#L154
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpo365-msgraphmailer/tags/6.1/Mail/Mailer.php#L71
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpo365-msgraphmailer/tags/6.1/Services/Log_Service.php#L80
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpo365-msgraphmailer/tags/6.1/Core/Script_Helpers.php#L142
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpo365-msgraphmailer/tags/6.1/Services/Ajax_Service.php#L284
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3752919%40wpo365-msgraphmailer&new=3752919%40wpo365-msgraphmailer
tags:
  - cve.org
epss: 0.00272
epssPercentile: 0.19636
ingestedAt: '2026-11-05T19:30:42.594Z'
---

## Overview

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.

## Affected

- `microsoft_365_graph_mailer <= 6.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
