CVE-2021-24565 Contact Form 7 Captcha < 0.0.9 - CSRF to Stored XSS

High 8.8 Published Updated

Attackers can exploit CSRF to inject malicious scripts into plugin settings, leading to stored XSS and potential admin account takeover.

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

CVE-2021-24565 is a high-severity cross-site scripting vulnerability in Unknown Contact Form 7 Captcha, published on 23 Aug 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 7 Captcha WordPress plugin before 0.0.9 does not have any CSRF check in place when saving its settings, allowing attacker to make a logged in user with the manage_options change them. Furthermore, the settings are not escaped when output in attributes, leading to a Stored Cross-Site Scripting issue.

Weakness: CWE-79, CWE-352

Which versions are affected by CVE-2021-24565?

It affects 1 product.

Products include Contact Form 7 Captcha Project Contact Form 7 Captcha.

How do I fix CVE-2021-24565?

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

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

Sources

Also known as GHSA-j7hp-47c4-p8rw.

Is CVE-2021-24565 in your software?

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

Check your SBOMs for free