# CVE-2022-2371: YaySMTP < 2.2.1 - Subscriber+ Stored Cross-Site Scripting

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/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:39.000Z
- Modified: 2026-06-17T04:41:46.610Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The YaySMTP WordPress plugin before 2.2.1 does not have proper authorisation when saving its settings, allowing users with a role as low as subscriber to change them, and use that to conduct Stored Cross-Site Scripting attack due to the lack of escaping in them as well.

(As written by CVE List.)

## Affected

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

## References

- <https://wpscan.com/vulnerability/31405f1e-fc07-43f5-afc1-9cfbaf6911b7> (exploit, third-party-advisory)

## Sources

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

---

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