CVE-2026-19804
The s2Member – Excellent for All Kinds of Memberships, Content …
The s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 260814 via the 'first_name' parameter parameter. This is due to insufficient sanitization of the first_name parameter via esc_refs(), which strips only regex backreferences and not PHP tags, before substitution into the eval'd Signup Tracking Codes template, combined with disclosure of the site-global proxy verification key that allows PayPal postback verification to be bypassed. This makes it possible for unauthenticated attackers to execute code on the server. Successful exploitation requires that the site administrator has configured a Signup Tracking Codes template containing the %%first_name%% placeholder (a documented, GUI-supported feature) and that the attacker has obtained the site-global proxy verification key, which is exposed in plaintext in the JSON response of any PayPal Checkout AJAX request on the target site.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/paypal-checkout-in.
- plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/paypal-return-in-su
- plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/paypal-return-in-su
- plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/paypal-return-in.in
- plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/paypal-utilities.in
- plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/paypal-utilities.in
- plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/tracking-codes.inc.
- plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/utilities.inc.php#L
- nvd.nist.gov/vuln/detail/CVE-2026-19804
- cve.org/CVERecord?id=CVE-2026-19804
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.