Description
The FluentSMTP – WP SMTP Plugin with Amazon SES, SendGrid, MailGun, Postmark, Google and Any SMTP Provider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Recipient Display Name (to.name) in Email Logs in all versions up to, and including, 2.2.95 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 delivered via an attacker-controlled recipient display name (to.name) in a wp_mail() call and does not fire in the log list view — only in the detail view when an administrator uses the Prev/Next navigation controls, as that path bypasses the escapeHtml pipeline used by the list view.
Published: 2026-08-06
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability allows an attacker to inject arbitrary JavaScript that is stored in the email log’s recipient display name field. When an administrator opens the detailed view of a logged email and uses the navigation controls to move between entries, the plugin renders the name without proper escaping, causing the injected script to execute in the administrator’s browser. The injected code runs with the privileges of the logged‑in administrator, potentially enabling session hijacking, credential theft, or other malicious actions within the WordPress site.

Affected Systems

The flaw exists in the FluentSMTP WordPress plugin up to and including version 2.2.95. Users running any of the supported mail providers—Amazon SES, SendGrid, Mailgun, Postmark, Cloudflare, toSend, Gmail, or any SMTP—must verify that their installation is not using a vulnerable version.

Risk and Exploitability

The CVSS score of 7.2 classifies this as a high severity issue. Although no EPSS data is provided, the lack of a KEV listing suggests that widespread exploitation has not yet been confirmed, but the vulnerability remains objectively dangerous because unauthenticated users can craft the malicious recipient name. The exploit path requires the attacker to send an email via the plugin (for example, by triggering wp_mail()), then later an administrator must visit the logs detail page where the payload is rendered. Once those prerequisites are met, the attacker can execute arbitrary code in the administrative context.

Generated by OpenCVE AI on August 6, 2026 at 05:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the FluentSMTP plugin to version 2.3.0 or later to eliminate the stored XSS flaw.
  • If an upgrade cannot be performed immediately, restrict the ability of unauthenticated or low‑privilege users to trigger wp_mail() calls so that attacker‑controlled recipient names cannot be created.
  • Verify that the email logs are accessed only by users with administrative privileges and consider implementing a content‑security policy to reduce the impact of any residual reflected scripts.

Generated by OpenCVE AI on August 6, 2026 at 05:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 04:30:00 +0000

Type Values Removed Values Added
Description The FluentSMTP – WP SMTP Plugin with Amazon SES, SendGrid, MailGun, Postmark, Google and Any SMTP Provider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Recipient Display Name (to.name) in Email Logs in all versions up to, and including, 2.2.95 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 delivered via an attacker-controlled recipient display name (to.name) in a wp_mail() call and does not fire in the log list view — only in the detail view when an administrator uses the Prev/Next navigation controls, as that path bypasses the escapeHtml pipeline used by the list view.
Title FluentSMTP <= 2.2.95 - Unauthenticated Stored Cross-Site Scripting via Recipient Display Name (to.name) in Email Logs
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-08-06T03:26:07.904Z

Reserved: 2026-07-22T16:53:54.620Z

Link: CVE-2026-16636

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-06T05:30:16Z

Weaknesses
  • CWE-79

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