Vulnerability in YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports — CVE-2026-109977
MediumSeverity
0.4%Estimated exploit probability
10,000+ sitesInstalls
2.7.9Fixed in
What to do now
Update YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports to 2.7.9 or later.
Affected versions
- Everything up to and including 2.7.8
Affected: YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports (plugin, yaysmtp)
What the vulnerability is
The YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports plugin for WordPress is vulnerable to time-based SQL Injection via the 'params[searchKey]' parameter in all versions up to, and including, 2.7.8 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Sources
- https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.8/includes/ImportSettingsOtherPlugins.php#L153
- https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.8/includes/ImportSettingsOtherPlugins.php#L258
- https://plugins.trac.wordpress.org/browser/yaysmtp/tags/2.7.8/includes/ImportSettingsOtherPlugins.php#L264
- https://plugins.trac.wordpress.org/browser/yaysmtp?rev=3778283
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9678ef78-ac5c-4dc0-8c15-092359f3defa?source=cve