CVE-2022-40191 WordPress Contact Form By Mega Forms plugin <= 1.2.4 - Authenticated Stored Cross-Site Scripting (XSS) vulnerability

Medium 5.4 Published Updated

Authenticated attackers can inject malicious scripts into the Contact Form By Mega Forms plugin, potentially compromising user sessions or site integrity.

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-40191?

CVE-2022-40191 is a medium-severity cross-site scripting vulnerability in Ali Khallad Contact Form By Mega Forms (WordPress plugin), published on 9 Sep 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

Authenticated (subscriber+) Stored Cross-Site Scripting (XSS) vulnerability in Ali Khallad's Contact Form By Mega Forms plugin <= 1.2.4 at WordPress.

Weakness: CWE-79

Which versions are affected by CVE-2022-40191?

It affects 1 product.

Products include Contact Form by Mega Forms Project Contact Form by Mega Forms.

How do I fix CVE-2022-40191?

No fix has been published for CVE-2022-40191 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-40191 being exploited?

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

Sources

Also known as GHSA-qhq9-93x7-7x6h.

Is CVE-2022-40191 in your software?

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

Check your SBOMs for free