Vulnerability Report
Plugin Medium Patch path listed CVE-2025-47587

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

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.

Quick Answer

CVE-2025-47587 is a medium severity with CVSS 4.9 SQL Injection issue affecting the Plugin YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service. It affects Versions up to 2.6.4 and is fixed in 2.6.5.

Published
May 07, 2025
Last Updated
May 13, 2025
Slug
yaysmtp
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 2.6.5, or a newer patched version
Operator Briefing

CVE-2025-47587 is tracked for the Plugin YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service as medium severity with CVSS 4.9. The affected range is Versions up to 2.6.4. Update YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service to 2.6.5 or newer where that version is compatible with the site.

Issue Type
SQL Injection
Primary Fixed Version
2.6.5
Primary Affected Range
Versions up to 2.6.4
Tracking ID
CVE-2025-47587
Detailed Metadata
Software Type Plugin
Software Slug
CVE CVE-2025-47587
Patched Versions
2.6.5
Affected Versions
Versions up to 2.6.4
Related CVE Cluster

Related CVEs for YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

High CVE-2022-2369 2.2.1 Jul 11, 2022
CVE-2022-2369 YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service Vulnerability

YaySMTP – Simple WP SMTP Mail <= 2.2 - Sensitive Information Disclosure

High CVE-2025-0916 2.6.4 Feb 18, 2025
CVE-2025-0916 YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service Stored Cross-Site Scripting

YaySMTP 2.4.9 - 2.6.3 - Unauthenticated Stored Cross-Site Scripting

High CVE-2023-3093 2.4.6 Jun 12, 2023
CVE-2023-3093 YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service Stored Cross-Site Scripting

YaySMTP <= 2.4.5 - Unauthenticated Stored Cross-Site Scripting via Email

Medium CVE-2022-2370 2.2.1 Jul 11, 2022
CVE-2022-2370 YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service Sensitive Information Exposure

YaySMTP – Simple WP SMTP Mail <= 2.2 - Missing Authorization to Sensitive Information Exposure

Medium CVE-2022-2371 2.2.1 Jul 18, 2022
CVE-2022-2371 YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service Stored Cross-Site Scripting

YaySMTP – Simple WP SMTP Mail <= 2.2 - Stored Cross-Site Scripting

Medium CVE-2022-2372 2.2.2 Jul 15, 2022
CVE-2022-2372 YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service Stored Cross-Site Scripting

YaySMTP – Simple WP SMTP Mail <= 2.2.1 - Authenticated (Admin+) Stored Cross-Site Scripting

Medium CVE-2025-53256 2.6.7 Jun 27, 2025
CVE-2025-53256 YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service SQL Injection

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

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more