Affected versions
- Affected versions
- <=261106
- Fixed version
- 261110
Exploitation
Description
The s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions plugin for WordPress is vulnerable to Content Injection in all versions up to, and including, 261106. This is due to missing sanitization of PHP open tags in IPN-supplied tracking code values before they are stored in a transient and later output on-site, addressed by adding str_replace('<?', '-', $code) prior to set_transient(). This makes it possible for unauthenticated attackers to inject arbitrary PHP code into on-site tracking code snippets stored in transients via forged PayPal IPN requests, which are then rendered to site visitors. PayPal IPN processing must be active and tracking codes must be configured in the plugin settings.
Links
Credits
- Yusuf Ozturk

