🔐 CVE Alert

CVE-2025-13516

HIGH 8.1

SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers <= 1.9.0 - Unauthenticated Arbitrary File Upload

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

The SureMail – SMTP and Email Logs Plugin for WordPress is vulnerable to Unrestricted Upload of File with Dangerous Type in versions up to and including 1.9.0. This is due to the plugin's save_file() function in inc/emails/handler/uploads.php which duplicates all email attachments to a web-accessible directory (wp-content/uploads/suremails/attachments/) without validating file extensions or content types. Files are saved with predictable names derived from MD5 hashes of their content. While the plugin attempts to protect this directory with an Apache .htaccess file to disable PHP execution, this protection is ineffective on nginx, IIS, and Lighttpd servers, or on misconfigured Apache installations. This makes it possible for unauthenticated attackers to achieve Remote Code Execution by uploading malicious PHP files through any public form that emails attachments, calculating the predictable filename, and directly accessing the file to execute arbitrary code granted they are exploiting a site running on an affected web server configuration.

CWE CWE-434
Vendor brainstormforce
Product suremail – smtp and email logs plugin with amazon ses, postmark, and other providers
Published Dec 2, 2025
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for brainstormforce suremail – smtp and email logs plugin with amazon ses, postmark, and other providers

Be the first to know when new high vulnerabilities affecting brainstormforce suremail – smtp and email logs plugin with amazon ses, postmark, and other providers are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

brainstormforce / SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers
0 ≤ 1.9.0

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/f3a20047-a325-4d29-a848-7ffa525d0bad?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/suremails/trunk/inc/emails/handler/uploads.php#L231 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/suremails/trunk/inc/emails/handler/uploads.php#L113 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/suremails/trunk/inc/admin/plugin.php#L407 cwe.mitre.org: https://cwe.mitre.org/data/definitions/434.html plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3403145/suremails/trunk?contextall=1&old=3389326&old_path=%2Fsuremails%2Ftrunk

Credits

M Indra Purnama