CVE-2025-13516
Last modified
CVE-2025-13516 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 0.86% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-13516?
How severe is CVE-2025-13516?
How do I fix CVE-2025-13516?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-1351IBM Storage Virtualize 8.5, 8.6, and 8.7 products could allo…7
- CVE-2025-13510The Iskra iHUB and iHUB Lite smart metering gateway exposes …9.3
- CVE-2025-13511Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2025-13512The CoSign Single Signon plugin for WordPress is vulnerable …6.1
- CVE-2025-13513The Clik stats plugin for WordPress is vulnerable to Reflect…6.1
- CVE-2025-13515The Nouri.sh Newsletter plugin for WordPress is vulnerable t…6.1
- CVE-2025-13519The SVG Map Plugin plugin for WordPress is vulnerable to Cro…6.1
- CVE-2025-1352A vulnerability has been found in GNU elfutils 0.192 and cla…7.5
- CVE-2025-13520The MTCaptcha WordPress Plugin for WordPress is vulnerable t…4.3
- CVE-2025-13521The WP Status Notifier plugin for WordPress is vulnerable to…4.3
- CVE-2025-13523Mattermost Confluence plugin version <1.7.0 fails to properl…5.4
- CVE-2025-13524Improper resource release in the call termination process in…6.8
Are you affected by CVE-2025-13516?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
