CVE-2021-24214 OpenID Connect Generic Client 3.8.0-3.8.1 - Reflected Cross Site Scripting (XSS) via Login Error

Medium 6.1 Published Updated

Unauthenticated attackers can execute arbitrary scripts in victim browsers via reflected XSS in the OpenID Connect Generic Client login error message.

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

CVE-2021-24214 is a medium-severity cross-site scripting vulnerability in daggerhart OpenID Connect Generic Client, published on 5 May 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 OpenID Connect Generic Client WordPress plugin 3.8.0 and 3.8.1 did not sanitise the login error when output back in the login form, leading to a reflected Cross-Site Scripting issue. This issue does not require authentication and can be exploited with the default configuration.

Weakness: CWE-79

Which versions are affected by CVE-2021-24214?

It affects 1 product.

Products include Daggerhartlab Openid Connect Generic Client.

How do I fix CVE-2021-24214?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24214 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-6gp2-g559-39jj.

Is CVE-2021-24214 in your software?

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

Check your SBOMs for free