CVE-2025-0916
Description
The YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions 2.4.9 to 2.6.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Note: The vulnerability has been initially patched in version 2.4.8 and was reintroduced in version 2.4.9 with the removal of the wp_kses_post() built-in WordPress sanitization function.
Affected WordPress components
-
YaySMTP – WP Mail SMTP with Email Logs, Tracking & Reports Plugin · yaysmtpFrom 2.4.9 (including) to 2.6.2 (including); From 2.4.9 (including) to 2.6.3 (excluding)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- yaycommerce YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service — From 2.4.9 (including) to 2.6.2 (including)
- yaycommerce yaysmtp — From 2.4.9 (including) to 2.6.3 (excluding)
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Functions.php Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Helper/Utils.php Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3238172 Patch
- wordpress.org https://wordpress.org/plugins/yaysmtp/#developers Product, Release Notes
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/209019bd-b214-4389-a972-42e38d501203?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record