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.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.