Vulnerability Report
Plugin Medium Patch path listed CVE-2022-2371

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

The YaySMTP – Simple WP SMTP Mail plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'settings[fromName]' parameter in versions up to, and including, 2.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with minimal permissions such as a subscriber, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Quick Answer

CVE-2022-2371 is a medium severity with CVSS 6.4 Stored Cross-Site Scripting issue affecting the Plugin YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service. It affects Versions before 2.2.1 and is fixed in 2.2.1.

Published
Jul 18, 2022
Last Updated
Jan 22, 2024
Slug
yaysmtp
Operational Summary

What the operator needs to know

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

CVE-2022-2371 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 6.4. The affected range is Versions before 2.2.1. Update YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service to 2.2.1 or newer where that version is compatible with the site.

Issue Type
Stored Cross-Site Scripting
Primary Fixed Version
2.2.1
Primary Affected Range
Versions before 2.2.1
Tracking ID
CVE-2022-2371
Detailed Metadata
Software Type Plugin
Software Slug
CVE CVE-2022-2371
Patched Versions
2.2.1
Affected Versions
Versions before 2.2.1
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-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

Medium CVE-2025-47587 2.6.5 May 07, 2025
CVE-2025-47587 YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, Mailgun, Brevo, Google and Any SMTP Service SQL Injection

YaySMTP <= 2.6.4 - 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