# CVE-2022-2372: YaySMTP < 2.2.2 - Admin+ Stored Cross-Site Scripting

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-08T13:47:54.000Z
- Modified: 2026-06-17T04:41:46.707Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The YaySMTP WordPress plugin before 2.2.2 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks when the unfiltered_html capability is disallowed (for example in multisite setup)

(As written by CVE List.)

## Affected

- Unknown YaySMTP – Simple WP SMTP Mail: from 2.2.2 before 2.2.2
- yaycommerce yaysmtp: before 2.2.2

## References

- <https://wpscan.com/vulnerability/941fadb6-0009-4751-b979-88e87ebb1e45> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2022-2372](https://www.cve.org/CVERecord?id=CVE-2022-2372), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2372](https://nvd.nist.gov/vuln/detail/CVE-2022-2372), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2372 · Whole record: https://cve.day/CVE-2022-2372.json · Rebuilt by cve.day 2026-11-25T22:58:13.471Z
