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
https://wpscan.com/vulnerability/bedda2a9-6c52-478e-b17a-7a4488419334