{"id":"CVE-2021-24570","aliases":["EUVD-2021-11482","GHSA-8825-wr78-6h2r"],"status":"published","title":"Paypal Donation \u003c 1.3.1 - CSRF to Stored Cross-Site Scripting","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.","severity":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00504,"percentile":0.43542,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-352","CWE-79"],"published":"2021-11-01T08:46:00Z","modified":"2026-06-17T03:40:15Z","products":[{"vendor":"scott paterson","product":"accept donations with paypal"},{"vendor":"unknown","product":"accept donations with paypal"},{"vendor":"wpplugin","product":"accept_donations_with_paypal"}],"references":[{"url":"https://wpscan.com/vulnerability/5c73754c-eebe-424a-9d3b-ca83eb53bf87","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/changeset/2608073/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24570"},{"url":"https://github.com/advisories/GHSA-8825-wr78-6h2r"}],"sources":{"cve":[{"id":"CVE-2021-24570","title":"Paypal Donation \u003c 1.3.1 - CSRF to Stored Cross-Site Scripting","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.","status":"published","published":"2021-11-01T08:46:00Z","modified":"2024-08-03T19:35:20.193Z","cwes":["CWE-352","CWE-79"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-11482","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.","status":"published","published":"2021-11-01T08:46:00Z","modified":"2024-08-03T19:35:20Z","updated_at":"2026-11-03T03:24:56.857735Z"}],"ghsa":[{"id":"GHSA-8825-wr78-6h2r","title":"The Accept Donations with PayPal WordPress plugin before 1.3.1 offers a function to create...","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.","status":"published","published":"2022-05-24T19:19:20Z","modified":"2023-01-27T05:03:42Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:42:18.285263Z"}],"nvd":[{"id":"CVE-2021-24570","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.","status":"published","published":"2021-11-01T09:15:08.503Z","modified":"2026-06-17T03:40:15.577Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79","CWE-352"],"updated_at":"2026-11-02T14:07:00.549994Z"}]}}
