{"id":"CVE-2026-86596","published":"2026-11-02T22:17:23.490","lastModified":"2026-11-02T22:17:23.633","description":"The s2Member plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, <= 260927 via the 'item_name' parameter parameter. This is due to insufficient sanitization in strip_php_tags_deep(), which only strips literal '<?' sequences, combined with a post-interpolation placeholder cleanup that reassembles a valid '<?php' opener after the attacker-controlled value has already been embedded in the email template. This makes it possible for authenticated attackers, with custom-level access and above, to execute code on the server.","cvssScore":9.8,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-94"],"vendors":[],"products":[],"references":[{"url":"https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/paypal-notify-in-subscr-or-wa-w-level.inc.php#L514","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/paypal-notify-in-web-accept-sp.inc.php#L104","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/paypal-notify-in-web-accept-sp.inc.php#L131","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/paypal-notify-in-web-accept-sp.inc.php#L138","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/paypal-notify-in.inc.php#L49","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/utilities.inc.php#L49","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/s2member/tags/260829/src/includes/classes/utils-strings.inc.php#L201","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset/3722434/s2member","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/bbe64cd3-c5ca-4867-90de-4784510a1126?source=cve","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"The s2Member WordPress plugin (≤260927) contains a Remote Code Execution (RCE) vulnerability in the 'item_name' parameter due to inadequate sanitization: strip_php_tags_deep() only removes literal '<?' sequences, and a subsequent placeholder cleanup reassembles '<?php' from attacker-controlled input embedded in email templates, enabling authenticated attackers with custom-level access or higher to execute arbitrary PHP code on the server.","exploitability":"Exploitation requires authentication with custom-level access or higher and is straightforward for such users, as no complex chaining or privilege escalation is needed beyond leveraging the vulnerable parameter.","blast_radius":"Successful exploitation allows full compromise of the affected WordPress site, including data theft, defacement, or lateral movement within the hosting environment.","remediation":"Upgrade to s2Member version 260928 or later, which includes a fix for the insufficient sanitization in strip_php_tags_deep() and the post-interpolation placeholder cleanup logic.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","wordpress","plugin","auth-bypass","email-template","injection"],"model":"garnet-coder","analyzedAt":"2026-11-03T09:55:11.540Z"}}