YaySMTP <= 2.6.4 - Authenticated (Administrator+) SQL Injection

4.9
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2025-47587
CVSS 4.9 (Medium)
Publicly Published May 7, 2025
Last Updated May 13, 2025
Researcher ChuongVN

Description

The YaySMTP plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 2.6.4 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.

Learn more about SQL Injection 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.6.5, or a newer patched version
Affected Version
  • <= 2.6.4
Patched Version
  • 2.6.5

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

# Title CVE ID CVSS Researchers Date
1 YaySMTP <= 2.6.6 - Authenticated (Administrator+) SQL Injection CVE-2025-53256 4.9 Nguyen Kim Sang June 27, 2025
2 YaySMTP 2.4.9 - 2.6.3 - Unauthenticated Stored Cross-Site Scripting CVE-2025-0916 7.2 zer0gh0st February 18, 2025
3 YaySMTP <= 2.4.5 - Unauthenticated Stored Cross-Site Scripting via Email CVE-2023-3093 7.2 Alex Thomas June 12, 2023
4 YaySMTP – Simple WP SMTP Mail <= 2.2 - Stored Cross-Site Scripting CVE-2022-2371 6.4 Rafshanzani Suhada July 18, 2022
5 YaySMTP – Simple WP SMTP Mail <= 2.2.1 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2022-2372 5.5 July 15, 2022
6 YaySMTP – Simple WP SMTP Mail <= 2.2 - Missing Authorization to Sensitive Information Exposure CVE-2022-2370 6.5 July 11, 2022
7 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