CVE-2022-2370
WordPress vulnerability analysis and mitigation

Overview

CVE-2022-2370 affects the YaySMTP WordPress plugin versions before 2.2.1. The vulnerability was discovered and publicly disclosed on July 11, 2022. This security issue impacts WordPress installations using the YaySMTP plugin for email functionality (WPScan).

Technical details

The vulnerability stems from a missing capability check in the plugin's code before displaying Mailer Credentials in JavaScript code for the settings. The issue has been assigned CWE-862 (Missing Authorization) and received a CVSS v3.1 base score of 6.5 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The vulnerability allows any authenticated users, including those with low-privilege roles such as subscribers, to retrieve SMTP mailer credentials from the WordPress admin area. This exposure of sensitive credentials could lead to unauthorized access to email services configured through the plugin (WPScan).

Exploitability

The vulnerability can be exploited by accessing the wp-admin area with a Subscriber+ user account and monitoring the traffic for 'var yaySmtpWpData =' in the HTTP Response, which contains the leaked credentials. The exploit requires only basic authentication and network monitoring capabilities (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in YaySMTP version 2.2.1. Users are advised to update to this version or later to prevent unauthorized access to SMTP credentials (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-17087HIGH7.5
  • wp-travel-engine
NoYesAug 16, 2026
CVE-2026-2497HIGH7.2
  • gallery-plugin
NoYesAug 16, 2026
CVE-2026-17608MEDIUM6.5
  • wp-compress-image-optimizer
NoYesAug 16, 2026
CVE-2026-2357MEDIUM6.4
  • bold-page-builder
NoYesAug 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management