Description
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.
References6
- plugins.trac.wordpress.org/browser/wp-mail-catcher/tags/2.1.12/…
- plugins.trac.wordpress.org/browser/wp-mail-catcher/tags/2.1.12/…
- plugins.trac.wordpress.org/browser/wp-mail-catcher/tags/2.1.12/…
- plugins.trac.wordpress.org/browser/wp-mail-catcher/tags/2.1.12/…
- plugins.trac.wordpress.org/changeset?reponame=&old=3717442%40wp…
- www.wordfence.com/threat-intel/vulnerabilities/id/6a1d9d03-0216…
Metrics
- CVSS 3.1
-
7.2
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 15 · as of 10 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.