Lucene search

K
wpvulndbLana CodesWPVDB-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
wpscan.com
6
simple membership
xss
stored
cross-site scripting
contributor
plugin
security
attributes
exploit
payment button

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.

PoC

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.

CPENameOperatorVersion
simple-membershiplt4.2.2

0.001 Low

EPSS

Percentile

23.5%

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