{"containers":{"cna":{"affected":[{"product":"Accept Donations with PayPal","vendor":"Unknown","versions":[{"lessThan":"1.3.1","status":"affected","version":"1.3.1","versionType":"custom"}]}],"credits":[{"lang":"en","value":"dc11"}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","description":"CWE-352 Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2021-11-01T08:46:00.000Z","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","shortName":"WPScan"},"references":[{"tags":["x_refsource_MISC"],"url":"https://wpscan.com/vulnerability/5c73754c-eebe-424a-9d3b-ca83eb53bf87"},{"tags":["x_refsource_CONFIRM"],"url":"https://plugins.trac.wordpress.org/changeset/2608073/"}],"source":{"discovery":"EXTERNAL"},"title":"Paypal Donation < 1.3.1 - CSRF to Stored Cross-Site Scripting","x_generator":"WPScan CVE Generator","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"contact@wpscan.com","ID":"CVE-2021-24570","STATE":"PUBLIC","TITLE":"Paypal Donation < 1.3.1 - CSRF to Stored Cross-Site Scripting"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Accept Donations with PayPal","version":{"version_data":[{"version_affected":"<","version_name":"1.3.1","version_value":"1.3.1"}]}}]},"vendor_name":"Unknown"}]}},"credit":[{"lang":"eng","value":"dc11"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":"WPScan CVE Generator","problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-352 Cross-Site Request Forgery (CSRF)"}]},{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://wpscan.com/vulnerability/5c73754c-eebe-424a-9d3b-ca83eb53bf87","refsource":"MISC","url":"https://wpscan.com/vulnerability/5c73754c-eebe-424a-9d3b-ca83eb53bf87"},{"name":"https://plugins.trac.wordpress.org/changeset/2608073/","refsource":"CONFIRM","url":"https://plugins.trac.wordpress.org/changeset/2608073/"}]},"source":{"discovery":"EXTERNAL"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T19:35:20.193Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://wpscan.com/vulnerability/5c73754c-eebe-424a-9d3b-ca83eb53bf87"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://plugins.trac.wordpress.org/changeset/2608073/"}]}]},"cveMetadata":{"assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","assignerShortName":"WPScan","cveId":"CVE-2021-24570","datePublished":"2021-11-01T08:46:00.000Z","dateReserved":"2021-01-14T00:00:00.000Z","dateUpdated":"2024-08-03T19:35:20.193Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}