Files
CVEs-PoC/2021/CVE-2021-24570.md
T
2024-06-18 02:51:15 +02:00

19 lines
1.1 KiB
Markdown

### [CVE-2021-24570](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24570)
![](https://img.shields.io/static/v1?label=Product&message=Accept%20Donations%20with%20PayPal&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.3.1%3C%201.3.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-352%20Cross-Site%20Request%20Forgery%20(CSRF)&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen)
### 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.
### POC
#### Reference
- https://wpscan.com/vulnerability/5c73754c-eebe-424a-9d3b-ca83eb53bf87
#### Github
No PoCs found on GitHub currently.