Post SMTP <= 4.0.1 - Unauthenticated Stored DOM-Based Cross-Site Scripting via 'user_email' Parameter (Multisite Registration → Failed Email Log)
What fixes it
No source in this snapshot names a fixed version.
Description
The Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'user_email' parameter in all versions up to, and including, 4.0.1 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. This is exploitable without authentication on WordPress Multisite installations with public registration enabled, as WordPress accepts email addresses containing numeric HTML character references that Post SMTP's stricter validator rejects, persisting the attacker-controlled address verbatim to the email log via the failed-send exception message.
Text from CVE List
Affected versions 1
- Post SMTP – Complete Email Delivery and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile Appaffected: all versions through 4.0.1CVE List
References 8
- wordfence.com/threat-intel/vulnerabilities/id/accac3da-0318-4e79-a163-ed9ff2af692b?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/post-smtp/tags/3.9.5/Postman/PostmanWpMail.php#L374Referencevia CVE List
- plugins.trac.wordpress.org/browser/post-smtp/tags/3.9.5/script/postman-email-logs.js#L711Referencevia CVE List
- plugins.trac.wordpress.org/browser/post-smtp/tags/3.9.5/Postman/PostmanEmailLogs.php#L538Referencevia CVE List
- plugins.trac.wordpress.org/browser/post-smtp/tags/3.9.5/Postman/Postman-Email-Log/PostmanEmailLogService.php#L215Referencevia CVE List
- plugins.trac.wordpress.org/browser/post-smtp/tags/3.9.5/Postman/Postman-Mail/PostmanEmailAddress.php#L63Referencevia CVE List
- plugins.trac.wordpress.org/changeset?reponame=&new=3711079%40post-smtp%2Ftags%2F4.0.2&old=3664536%40post-smtp%2Ftags%2F4.0.1Referencevia CVE List
- plugins.trac.wordpress.org/changeset/3711068/post-smtp/trunk/Postman/Postman-Email-Log/PostmanEmailLogService.phpReferencevia CVE List