The s2Member WordPress plugin before 260805 does not escape several shortcode attributes before outputting them inside an inline script context, allowing users with contributor-level access to inject arbitrary JavaScript that executes when a viewer opens the post (stored XSS).
https://wpscan.com/vulnerability/79e830c3-232b-4eff-8cf1-d25c5310984c/