CVE-2026-86596

s2Member <= 260927 - Unauthenticated Remote Code Execution via 'item_name' IPN Parameter

Published Nov 2, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.5% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The s2Member WordPress plugin contains a vulnerability that allows attackers to execute arbitrary PHP code by embedding specially crafted strings in the PayPal IPN "item_name" parameter. The flaw arises from insufficient sanitization in the strip_php_tags_deep() function, which only removes literal "<?" sequences, and a subsequent placeholder cleanup that reconstructs a valid "<?php" opener after the attacker‑controlled value has already been injected into an email template. As a result, PHP code supplied through the "item_name" field is treated as executable server code, leading to full compromise of the WordPress site.

Affected Systems

All installations of the s2Member plugin with build numbers 260927 or lower are affected. The plugin is distributed under the name "clavaque:s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions" and is commonly used on WordPress sites to manage memberships and content access.

Risk and Exploitability

The vulnerability has a CVSS score of 9.8, classifying it as Critical. The EPSS score of 1% indicates a low overall probability of exploitation, yet the high severity rating makes it a high‑priority target for attackers. Exploitation requires an authenticated attacker with at least custom‑level access within the WordPress site to send a crafted IPN POST containing a malicious "item_name" value. The injection results in PHP code execution with the permissions of the WordPress installation, allowing full control over the server’s files, databases, and potential lateral movement. This flaw is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest s2Member plugin release (build >260927).
  • If an immediate upgrade is not possible, temporarily disable PayPal IPN handling in the plugin or block IPN POST requests to the affected endpoint until the patch is applied.
  • Review the plugin’s sanitization routine—ensure that any user‑supplied strings passed to email templates are fully escaped and that functions analogous to strip_php_tags_deep() correctly remove all PHP opening tags before interpolation.

Generated by OpenCVE AI on November 3, 2026 at 15:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Clavaque
Clavaque s2member
Wordpress-extensions
Wordpress-extensions s2member
Vendors & Products Clavaque
Clavaque s2member
Wordpress-extensions
Wordpress-extensions s2member
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title s2Member <= 260927 - Unauthenticated Remote Code Execution via 'item_name' IPN Parameter
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 8, 2026, 7:05 PM
Reserved
Sep 8, 2026, 8:18 AM
Status
Deferred
Published
Nov 2, 2026, 10:17 PM
Modified
Nov 8, 2026, 7:17 PM