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

Medium 5.4 Published Updated

Subscribers can inject malicious scripts into YaySMTP settings due to missing authorization and escaping, potentially compromising admin sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-2371?

CVE-2022-2371 is a medium-severity cross-site scripting vulnerability in Unknown YaySMTP – Simple WP SMTP Mail, published on 8 Aug 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2022-2371?

It affects 1 product.

Products include Yaycommerce Yaysmtp.

How do I fix CVE-2022-2371?

No fix has been published for CVE-2022-2371 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-2371 being exploited?

There is no known exploitation of CVE-2022-2371 in the wild and no public exploit code.

Sources

Also known as GHSA-8qx8-7fxh-rjvj.

Is CVE-2022-2371 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free