# CVE-2021-24570: Paypal Donation < 1.3.1 - CSRF to Stored Cross-Site Scripting

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-01T08:46:00.000Z
- Modified: 2026-06-17T03:40:15.577Z
- Weaknesses: CWE-79, CWE-352
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Accept Donations with PayPal: from 1.3.1 before 1.3.1
- wpplugin accept_donations_with_paypal: before 1.3.1

## Every score

- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/5c73754c-eebe-424a-9d3b-ca83eb53bf87> (exploit, third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2608073/> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24570](https://www.cve.org/CVERecord?id=CVE-2021-24570), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24570](https://nvd.nist.gov/vuln/detail/CVE-2021-24570), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24570 · Whole record: https://cve.day/CVE-2021-24570.json · Rebuilt by cve.day 2026-11-25T22:58:05.281Z
