4.3medium
Paypal Donation < 1.3.1 - CSRF to Stored Cross-Site Scripting
- Severity
- 4.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Accept Donations with PayPal | from 1.3.1 before 1.3.1 | CVE List |
| wpplugin accept_donations_with_paypal | before 1.3.1 | NVD |
All scores
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
El plugin Accept Donations with PayPal de WordPress versiones anteriores a 1.3.1, ofrece una función para crear botones de donación, que internamente son posts. El proceso para crear un nuevo botón carece de una comprobación de tipo CSRF. Un atacante podría usar esto para que un administrador autenticado cree un nuevo botón. Además, uno de los campos Button no se escapa antes de ser emitido en un atributo cuando se edita un botón, conllevando también a un problema de tipo Cross-Site Scripting Almacenado
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24570 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24570 changed 2026-06-17 | Public domain |