CVE-2025-13516HIGH 8.1EPSS p53.7%

CVE-2025-13516CVE-2025-13516

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.

Scoring

CVSS 3.18.1 (HIGH)
VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.86% probability of exploitation · percentile 53.7% · 2026-06-19T12:03:05Z
Published2025-12-02
Last modified2026-04-15

Underlying weaknesses· 1

CWE-434

References

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

1

TypeTargetConfidenceTier
WeaknessUnrestricted Upload of File with Dangerous Typecwe-4340%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-9762
CVE
CVE-2026-7537
CVE
CVE-2026-5364
CVE
CVE-2025-1028
CVE
CVE-2025-3515
CVE
CVE-2025-12153
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.