CVE-2021-42358 Contact Form With Captcha <= 1.6.2 Cross-Site Request Forgery to Reflected Cross-Site Scripting

High 8.8 Published Updated

Attackers can exploit missing nonce validation to inject arbitrary scripts via CSRF, potentially leading to code execution.

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

What is CVE-2021-42358?

CVE-2021-42358 is a high-severity vulnerability in Contact Form With Captcha, published on 29 Nov 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Contact Form With Captcha WordPress plugin is vulnerable to Cross-Site Request Forgery due to missing nonce validation in the ~/cfwc-form.php file during contact form submission, which made it possible for attackers to inject arbitrary web scripts in versions up to, and including 1.6.2.

Weakness: CWE-352

Which versions are affected by CVE-2021-42358?

It affects 1 product.

Products include Contact Form With Captcha Project Contact Form With Captcha.

How do I fix CVE-2021-42358?

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

Is CVE-2021-42358 being exploited?

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

Sources

Also known as GHSA-3286-68f5-pqwv.

Is CVE-2021-42358 in your software?

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

Check your SBOMs for free