CVE-2021-24228 Patreon WordPress < 1.7.2 - Reflected XSS on Login Form

Critical 9.6 Published Updated

Reflected XSS in the Patreon WordPress plugin login form allows attackers to execute arbitrary scripts in victim browsers via unsanitized error logging input.

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

CVE-2021-24228 is a critical cross-site scripting vulnerability in Unknown Patreon WordPress, published on 12 Apr 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 Jetpack Scan team identified a Reflected Cross-Site Scripting in the Login Form of the Patreon WordPress plugin before 1.7.2. The WordPress login form (wp-login.php) is hooked by the plugin and offers to allow users to authenticate on the site using their Patreon account. Unfortunately, some of the error logging logic behind the scene allowed user-controlled input to be reflected on the login page, unsanitized.

Weakness: CWE-79

Which versions are affected by CVE-2021-24228?

It affects 1 product.

Products include Patreon Patreon Wordpress.

How do I fix CVE-2021-24228?

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

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

Sources

Also known as GHSA-3g9j-v8wq-8c77.

Is CVE-2021-24228 in your software?

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

Check your SBOMs for free