{"id":"CVE-2021-24570","aliases":["CVE-2021-24570"],"related":[],"kind":"vulnerability","state":"published","title":"Paypal Donation < 1.3.1 - CSRF to Stored Cross-Site Scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-11-01T08:46:00.000Z","modified":"2026-06-17T03:40:15.577Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-352"],"affected":[{"ranges":[{"type":"custom","introduced":"1.3.1","fixed":"1.3.1","status":"affected"}],"vendor":"Unknown","product":"Accept Donations with PayPal","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.3.1"}],"vendor":"wpplugin","product":"accept_donations_with_paypal","cpe":"cpe:2.3:a:wpplugin:accept_donations_with_paypal:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/5c73754c-eebe-424a-9d3b-ca83eb53bf87","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/2608073/","tags":["patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["dc11"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24570","url":"https://www.cve.org/CVERecord?id=CVE-2021-24570","licence":"CVE Terms of Use","modified":"2024-08-03T19:35:20.193Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24570","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24570","licence":"Public domain","modified":"2026-06-17T03:40:15.577Z"}],"updatedAt":"2026-11-25T22:58:05.281Z","epss":{"score":0.00504,"percentile":0.4466,"date":"2026-12-01T12:00:22.000Z"}}