The plugin does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as contributor to perform Stored Cross-Site Scripting attacks which could be used against high privilege users such as admin.
1. Exploit shortcode: [swpm_paypal_subscription_cancel_link merchant_id=โ1โ css_class=โ" onmouseover=โalert(1)โโ] Note: The exploit requires a membership plugin user to log in. 2. Exploit shortcode: [swpm_payment_button id=โ1โ class=โ" onmouseover=โalert(1)โโ] Note: The โBraintree Buy Nowโ payment button uses the โclassโ parameter. You can add buttons on the โPaymentsโ > โManage Payment Buttonsโ page.
CPE | Name | Operator | Version |
---|---|---|---|
simple-membership | lt | 4.2.2 |