CVE-2025-0916
Yaycommerce Yaysmtp vulnerability
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 products
Yaysmtp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Yaycommerce Yaysmtp runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/changeset/3238172 · Patch
- www.wordfence.com/threat-intel/vulnerabilities/id/209019bd-b214-4389-a972-42e38d501203?sou · Third Party Advisory
- plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Functions.php
- plugins.trac.wordpress.org/browser/yaysmtp/trunk/includes/Helper/Utils.php
- wordpress.org/plugins/yaysmtp/#developers
- nvd.nist.gov/vuln/detail/CVE-2025-0916
- cve.org/CVERecord?id=CVE-2025-0916
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.