Mail logging <= 2.1.12 - Unauthenticated Stored Cross-Site Scripting via PHPMailer 'wp_mail_failed' Error Message

7.2
Improper Neutralization of Input During Web Page Generation
CVE CVE-2026-93889
CVSS 7.2 (High)
Publicly Published October 2, 2026
Last Updated October 3, 2026
Researcher Adrien Brunner

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Mail logging & Catcher

Software Type Plugin
Software Slug wp-mail-catcher (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.2.0, or a newer patched version
Affected Version
  • <= 2.1.12
Patched Version
  • 2.2.0

Recent vulnerabilities in Mail logging & Catcher

# Title CVE ID CVSS Researchers Date
1 Mail logging & Catcher <= 2.2.0 - Authenticated (Subscriber+) Sensitive Information Exposure to Privilege Escalation to Mail Log Viewer / Password-Reset Email Disclosure CVE-2026-120040 7.5 Duc Manh October 30, 2026
2 WP Mail Catcher <= 2.1.9 - Reflected Cross-Site Scripting CVE-2024-47339 6.1 Le Ngoc Anh September 27, 2024
3 WP Mail Catcher <= 2.1.6 - Cross-Site Request Forgery CVE-2024-32099 4.3 Dhabaleshwar Das April 11, 2024
4 Mail logging – WP Mail Catcher <= 2.1.3 - Authenticated(Administrator+) SQL Injection CVE-2023-50844 6.6 Muhammad Daffa December 21, 2023
5 Mail logging - WP Mail Catcher <= 2.1.3 - Authenticated (Admin+) SQL Injection 7.2 Muhammad Daffa October 29, 2023
6 WP Mail Catcher <= 2.1.2 - Unauthenticated Stored Cross-Site Scripting via Email Subject CVE-2023-3080 7.2 Alex Thomas June 9, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation