Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malicious payload via contact form
-
DeliveryTrigger PHPMailer mail delivery failure
-
ExploitPayload stored in wp_mail_failed log entry
-
ExecutionAdmin opens WP Mail Catcher log page
-
ImpactScript executes in admin session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation is NOT possible against a default standalone install: it requires (1) a separately installed plugin such as Contact Form 7 that passes unauthenticated, user-controlled input into WordPress mail fields, and (2) the outgoing mail to actually FAIL, so PHPMailer generates a 'wp_mail_failed' error message that embeds the attacker's input. WP Mail Catcher (≤2.1.12) then stores that message without sufficient sanitization/output escaping. The payload only fires when a user - realistically a logged-in administrator - opens the plugin's mail log view in wp-admin, so the practical trigger depends on an admin viewing the log. Limiting factors: the dependency on a second input-forwarding plugin, the need for a mail-send failure, and the requirement that a privileged user view the log page. |
| Impact | This is a genuine but conditional, mid-tier risk rather than an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2 HIGH) advertises unauthenticated network exploitation with a scope change, which looks alarming, but the description itself undercuts the AC:L/UI:N optimism: successful exploitation requires a SEPARATE plugin (e.g., Contact Form 7) that pipes unauthenticated user input into mail fields AND requires that mail to actually fail so PHPMailer builds a 'wp_mail_failed' error message containing the payload. That is a meaningful real-world precondition the base vector does not reflect, so AC:L is arguably optimistic (see assessed vector below). No EPSS score, no CISA KEV listing, and no public POC were provided in the input, so there is no signal of active or probable exploitation - only a Wordfence-reported vulnerability with source-code references. The signals are therefore internally consistent in one respect (a real stored-XSS sink exists, confirmed by the linked plugin source) but the headline severity overstates practical exploitability because of the required plugin chain and mail-failure condition. Treat as a standard patch-on-cycle item for sites running this plugin alongside a form plugin, not a drop-everything issue. |
| Exploit ScenarioDerived | An attacker submits a contact form (served by a secondary plugin such as Contact Form 7) with a malicious JavaScript payload placed in a field that becomes part of the outgoing email; when the mail send fails, PHPMailer embeds the attacker-controlled content in its 'wp_mail_failed' error message, which WP Mail Catcher stores unsanitized. When an administrator later opens the mail log in wp-admin, the stored script executes in their authenticated browser session. No public exploit code was identified at time of analysis, and the chain depends on a mail failure occurring. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 03, 2026
Stored cross-site scripting in the Mail logging - WP Mail Catcher WordPress plugin (all versions up to and including 2.1.12) allows unauthenticated attackers to inject arbitrary web scripts that execute when a privileged user opens the plugin's mail log view in wp-admin. Exploitation is not possible against a default standalone install: it requires a separately installed plugin such as Contact Form 7 that passes unauthenticated user-controlled input into WordPress mail fields, plus a failed outgoing mail that causes PHPMailer to generate a 'wp_mail_failed' error message embedding the attacker's input. No public exploit identified at time of analysis; risk is conditional and mid-tier per independent assessment (assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N).
RemediationAI
Apply the upstream fix represented by the wp-mail-catcher changeset 3717442 (Trac link in references); the exact patched release version is not independently confirmed, so verify the plugin repository for the first version after 2.1.12 and update accordingly. Workarounds: if immediate update is not possible, disable the Mail logging - WP Mail Catcher plugin, accepting loss of mail logging; restrict access to the plugin's wp-admin log pages to trusted administrators only (reduces but does not eliminate the risk since the stored payload may execute for any user viewing the log); and remove or sanitize untrusted input being forwarded into mail fields by secondary plugins such as Contact Form 7, with the tradeoff of potentially breaking legitimate form submissions. Ensuring outgoing mail does not fail would avoid PHPMailer error generation but is not a reliable control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The underlying issue is CWE-79, improper neutralization of input during web page generation, in the Mail logging - WP Mail Catcher plugin (CPE cpe:2.3:a:wardee:mail_logging_&_catcher:*:*:*:*:*:*:*:*). The plugin hooks WordPress's wp_mail_failed action and stores the PHPMailer failure error message in its mail log database without sufficient sanitization, then renders that stored content in the admin log modal and admin table views (LogHelper.php, LogModal.php, WpMail.php, MailAdminTable.php per the referenced Trac files). A separate input-forwarding plugin is required to place attacker-controlled text into mail fields that PHPMailer echoes into its failure error message. The assessed attack vector is network with high attack complexity and required user interaction (UI:R), scoped changed, low confidentiality and integrity impact.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Attacker needs no auth (PR:N) but depends on a secondary plugin plus a mail-send failure (AC:H) and an admin viewing the log (UI:R); script runs in admin context, so S:C with low C/I.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Mail logging - WP Mail Catcher plugin for WordPress is vulnerable to Stored Cross-Site Scripting via PHPMailer 'wp_mail_failed' Error Message in all versions up to, and including, 2.1.12 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. Successful exploitation requires a separately installed plugin, such as Contact Form 7, that passes unauthenticated user-controlled input into mail fields whose content PHPMailer will include in its failure error message.
Executive ViewAI
A stored cross-site scripting flaw in the WP Mail Catcher WordPress plugin (all versions through 2.1.12) allows unauthenticated attackers to plant malicious script into mail log entries that then executes in the browser of an administrator reviewing those logs in wp-admin, and no vendor patch is currently available. Exploitation is conditional-it requires a second plugin that routes unauthenticated visitor input into WordPress mail fields and a failed outbound email-so the risk is not immediate or universal, but where the conditions exist the administrators who control affected sites could have sessions hijacked, content altered, or credentials exposed. Leadership should care because affected WordPress properties remain unpatchable today, and the people placed at risk are the privileged users trusted with those sites.
No vendor-released patch identified at time of analysis. Interim mitigations: deactivate or remove WP Mail Catcher where mail logging is not essential; otherwise restrict wp-admin and the mail log view to trusted networks, enforce MFA for administrators, clear and shorten mail log retention, and audit log entries for injected content. Block unauthenticated input reaching mail fields by disabling or hardening companion form plugins (e.g., Contact Form 7), apply virtual patching or WAF rules against script payloads, and reduce outgoing mail failures that generate wp_mail_failed messages.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
EUVD-2026-91957
GHSA-7wqp-vpcj-332m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB