{"id":"CVE-2026-4072","published":"2026-03-21T03:26:56Z","modified":"2026-04-08T17:10:56Z","title":"WordPress PayPal Donation <= 1.01 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'amount' Shortcode…","vendor":"tstachl","product":"WordPress PayPal Donation","tier":"tail","description":{"text":"The WordPress PayPal Donation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'donate' shortcode in all versions up to, and including, 1.01. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes such as 'amount', 'email', 'title', 'return_url', 'cancel_url', 'ccode', and 'image'. The wordpress_paypal_donation_create() function uses extract(shortcode_atts(...)) to process shortcode attributes and then directly interpolates these values into HTML output within single-quoted attribute values without any escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00224,"percentile":0.13328,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/99a8b48b-2967-4179-a0eb-626bbe273f03?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wordpress-paypal-donation/trunk/wp-paypal-donation.php#L271","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wordpress-paypal-donation/tags/1.01/wp-paypal-donation.php#L271","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wordpress-paypal-donation/trunk/wp-paypal-donation.php#L260","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/wordpress-paypal-donation/tags/1.01/wp-paypal-donation.php#L260","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":2.67},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"tstachl","affectedVersions":[{"vendor":"tstachl","product":"WordPress PayPal Donation","versions":["<= 1.01"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-23T17:08:00.403230Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-14177","exploited":false,"provenance":"source"}}