Lucene search

K
wpexploitLana CodesWPEX-ID:B195C373-1DB9-4FD7-98D0-0860DACD189E
HistoryDec 21, 2022 - 12:00 a.m.

Simple Membership < 4.2.2 - Contributor+ Stored XSS

2022-12-2100:00:00
Lana Codes
56
membership plugin
stored xss
exploit
shortcode
braintree buy now
payment buttons

0.001 Low

EPSS

Percentile

23.5%

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.

0.001 Low

EPSS

Percentile

23.5%

Related for WPEX-ID:B195C373-1DB9-4FD7-98D0-0860DACD189E