YaySMTP <= 2.7.7 - Authenticated (Subscriber+) Arbitrary File Upload via Attachment Filename Extension

8.8
Unrestricted Upload of File with Dangerous Type
CVE CVE-2026-92553
CVSS 8.8 (High)
Publicly Published October 15, 2026
Last Updated October 16, 2026
Researcher Wordfence PRISM - Wordfence

Description

The YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 2.7.7 via the putFile function. This is due to insufficient file type validation in the putFile function, as sanitize_file_name() does not strip executable extensions and no allow-list, MIME check, or safe-extension rename is applied. This makes it possible for authenticated attackers, with subscriber-level access and above, to upload files that may be executable, which makes remote code execution possible. The only server-side guard is a .htaccess file containing 'Require all denied' written by writeGuards(), which is silently ignored by nginx and by Apache configured with AllowOverride None, meaning RCE is fully achievable on those server configurations.

Learn more about Arbitrary File Upload vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports

Software Type Plugin
Software Slug yaysmtp (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.7.8, or a newer patched version
Affected Version
  • <= 2.7.7
Patched Version
  • 2.7.8

Recent vulnerabilities in YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports

# Title CVE ID CVSS Researchers Date
1 YaySMTP <= 2.7.8 - Authenticated (Administrator+) SQL Injection via 'params[searchKey]' Parameter CVE-2026-109977 4.9 Wordfence PRISM November 5, 2026
2 YaySMTP <= 2.6.6 - Authenticated (Administrator+) SQL Injection CVE-2025-53256 4.9 Nguyen Kim Sang June 27, 2025
3 YaySMTP <= 2.6.4 - Authenticated (Administrator+) SQL Injection CVE-2025-47587 4.9 ChuongVN May 7, 2025
4 YaySMTP 2.4.9 - 2.6.3 - Unauthenticated Stored Cross-Site Scripting CVE-2025-0916 7.2 zer0gh0st February 18, 2025
5 YaySMTP <= 2.4.5 - Unauthenticated Stored Cross-Site Scripting via Email CVE-2023-3093 7.2 Alex Thomas June 12, 2023
6 YaySMTP – Simple WP SMTP Mail <= 2.2 - Stored Cross-Site Scripting CVE-2022-2371 6.4 Rafshanzani Suhada July 18, 2022
7 YaySMTP – Simple WP SMTP Mail <= 2.2.1 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2022-2372 5.5 July 15, 2022
8 YaySMTP – Simple WP SMTP Mail <= 2.2 - Missing Authorization to Sensitive Information Exposure CVE-2022-2370 6.5 July 11, 2022
9 YaySMTP – Simple WP SMTP Mail <= 2.2 - Sensitive Information Disclosure CVE-2022-2369 7.5 Rafshanzani Suhada July 11, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation