CVE-2022-2370 YaySMTP < 2.2.1 - Subscriber+ SMTP Credentials Leak
Authenticated subscribers can retrieve SMTP credentials due to missing capability checks in the YaySMTP WordPress plugin settings.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-2370?
CVE-2022-2370 is a medium-severity missing authorization vulnerability in Unknown YaySMTP, published on 1 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The YaySMTP WordPress plugin before 2.2.1 does not have capability check before displaying the Mailer Credentials in JS code for the settings, allowing any authenticated users, such as subscriber to retrieve them
Weakness: CWE-862
Which versions are affected by CVE-2022-2370?
It affects 1 product.
Products include Yaycommerce Yaysmtp.
How do I fix CVE-2022-2370?
No fix has been published for CVE-2022-2370 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-2370 being exploited?
There is no known exploitation of CVE-2022-2370 in the wild and no public exploit code.
Other vulnerabilities in Unknown YaySMTP
- CVE-2025-0918 SMTP for SendGrid – YaySMTP <= 1.4 - Unauthenticated Stored Cross-Site Scripting via Email Logs
- CVE-2025-0953 SMTP for Sendinblue – YaySMTP <= 1.2 - Unauthenticated Stored Cross-Site Scripting via Email Logs
- CVE-2025-0916 YaySMTP 2.4.9 - 2.6.2 - Unauthenticated Stored Cross-Site Scripting
- CVE-2023-3093 YaySMTP <= 2.4.5 - Unauthenticated Stored Cross-Site Scripting via Email
- CVE-2022-2371 YaySMTP < 2.2.1 - Subscriber+ Stored Cross-Site Scripting
Sources
Also known as GHSA-7vqg-r6cw-6w76.