CVE-2024-6021 Donation Block for PayPal <= 2.1.0 - Unauthenticated Stored XSS

Medium 6.8 Published Updated

Unauthenticated attackers can inject malicious scripts via form submissions in the Donation Block for PayPal plugin, potentially compromising user sessions.

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-2024-6021?

CVE-2024-6021 is a medium-severity cross-site scripting vulnerability in Unknown Donation Block For PayPal, published on 30 Jul 2024. 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 Donation Block For PayPal WordPress plugin through 2.1.0 does not sanitise and escape form submissions, leading to a stored cross-site scripting vulnerability

Weakness: CWE-79

Which versions are affected by CVE-2024-6021?

It affects 1 product.

Products include Bharatkambariya Donation Block for Paypal.

How do I fix CVE-2024-6021?

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

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

Sources

Also known as GHSA-cx67-m2rh-98xh.

Is CVE-2024-6021 in your software?

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

Check your SBOMs for free