CVE-2021-24569 Cookie Notice & Compliance for GDPR / CCPA < 2.1.2 - Admin+ Stored Cross-Site Scripting

Medium 4.8 Published Updated

Admin users can inject malicious scripts via the Button Text setting, leading to stored XSS on the frontend.

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

What is CVE-2021-24569?

CVE-2021-24569 is a medium-severity cross-site scripting vulnerability in Unknown Cookie Notice & Compliance for GDPR / CCPA, published on 27 Sep 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Cookie Notice & Compliance for GDPR / CCPA WordPress plugin before 2.1.2 does not escape the value of its Button Text setting when outputting it in an attribute in the frontend, allowing high privilege users such as admin to perform Cross-Site Scripting even when the unfiltered_html capability is disallowed.

Weakness: CWE-79

Which versions are affected by CVE-2021-24569?

It affects 1 product.

Products include Hu-Manity Cookie Notice \& Compliance for Gdpr \/ Ccpa.

How do I fix CVE-2021-24569?

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

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

Sources

Also known as GHSA-w27v-jm67-3gjf.

Is CVE-2021-24569 in your software?

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

Check your SBOMs for free