CVE-2021-24618 Donate With QRCode < 1.4.5 - Stored Cross-Site Scripting

Medium 5.4 Published Updated

Stored XSS in Donate With QRCode plugin allows attackers to inject scripts via QRCode settings, potentially leading to code execution or session hijacking.

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

What is CVE-2021-24618?

CVE-2021-24618 is a medium-severity cross-site scripting vulnerability in Unknown Donate With QRCode, published on 20 Sep 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Donate With QRCode WordPress plugin before 1.4.5 does not sanitise or escape its QRCode Image setting, which result into a Stored Cross-Site Scripting (XSS). Furthermore, the plugin also does not have any CSRF and capability checks in place when saving such setting, allowing any authenticated user (as low as subscriber), or unauthenticated user via a CSRF vector to update them and perform such attack.

Weakness: CWE-79, CWE-352

Which versions are affected by CVE-2021-24618?

It affects 1 product.

Products include Wbolt Donate With Qrcode.

How do I fix CVE-2021-24618?

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

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

Sources

Also known as GHSA-3g5v-m9jm-mw8w.

Is CVE-2021-24618 in your software?

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

Check your SBOMs for free