CVE-2025-13516CWE-434unrestricted-file-upload

CVE-2025-13516

High · published December 2, 2025

CVSS v3.1
8.1
EPSS
1%
Percentile
61.4
In the wild
Unconfirmed
What it is

🚨 A crafty file upload vulnerability lurks in the SureMail plugin for WordPress, allowing attackers to achieve Remote Code Execution without breaking a sweat! Think of it like a restaurant that allows diners to bring their own desserts but doesn’t check what’s inside. An attacker could slip in a dangerous cake disguised as a harmless treat, and once it’s in the kitchen, chaos ensues! If exploited, an attacker could upload malicious PHP files that grant them full control over the server, potentially leading to data breaches, site defacement, or worse. The consequences could be absolutely devastating, leaving your site wide open to unauthorized access and manipulation!

Put simply

Think of it like a restaurant that allows diners to bring their own desserts but doesn’t check what’s inside. An attacker could slip in a dangerous cake disguised as a harmless treat, and once it’s in the kitchen, chaos ensues! This vulnerability arises from the SureMail plugin's save_file() function, which saves email attachments to a publicly accessible directory without properly validating file types. This means that attackers can upload files with dangerous extensions, and even if the directory has some protective measures, they can fail under certain server configurations.

What to do

If exploited, an attacker could upload malicious PHP files that grant them full control over the server, potentially leading to data breaches, site defacement, or worse. The consequences could be absolutely devastating, leaving your site wide open to unauthorized access and manipulation! To safeguard your site, update the SureMail plugin to version 1.9.1 or later immediately. Additionally, configure your web server to ensure it properly restricts executable file types in the uploads directory and consider implementing stricter file validation measures. Don’t wait—get this sorted out! You've got this! With a few quick steps, you'll have your site secured and your security hero status activated! 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00967 · 61.4th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2025-12-02T14:15Z
References (6)
EPSS history
Timeline
  • 02 DEC 08:24Z
    SureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers <= 1.9.0 - Unauthenticated Arbitrary File Upload
    cvelistv5