CVE-2021-24570 Paypal Donation < 1.3.1 - CSRF to Stored Cross-Site Scripting
An attacker can exploit a CSRF vulnerability to inject stored XSS payloads via donation buttons, potentially compromising admin sessions.
- 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-24570?
CVE-2021-24570 is a medium-severity cross-site scripting vulnerability in Unknown Accept Donations with PayPal, published on 1 Nov 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 Accept Donations with PayPal WordPress plugin before 1.3.1 offers a function to create donation buttons, which internally are posts. The process to create a new button is lacking a CSRF check. An attacker could use this to make an authenticated admin create a new button. Furthermore, one of the Button field is not escaped before being output in an attribute when editing a Button, leading to a Stored Cross-Site Scripting issue as well.
Which versions are affected by CVE-2021-24570?
It affects 1 product.
Products include Wpplugin Accept Donations With Paypal.
How do I fix CVE-2021-24570?
No fix has been published for CVE-2021-24570 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-24570 being exploited?
There is no known exploitation of CVE-2021-24570 in the wild and no public exploit code.
Other vulnerabilities in Unknown Accept Donations with PayPal
- CVE-2025-47517 WordPress Accept Donations with PayPal plugin <= 1.4.5 - CSRF to Stored XSS vulnerability
- CVE-2021-24989 Accept Donations with PayPal < 1.3.4 - Arbitrary Post Deletion via CSRF
- CVE-2021-24815 Paypal Donation < 1.3.2 - Admin+ Stored Cross-Site Scripting
- CVE-2021-24572 Paypal Donation < 1.3.1 - CSRF to Arbitrary Post Deletion
Sources
Also known as GHSA-8825-wr78-6h2r.