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.
Published: 2026-11-02
Score: 9.8 Critical
EPSS: 1.5% Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Update
AI Analysis

Impact

The vulnerability in the s2Member plugin for WordPress allows the execution of arbitrary PHP code by passing a specially crafted string in the 'item_name' field received from PayPal IPN calls. The defect arises because the strip_php_tags_deep() function only removes literal '&lt;?' sequences, while a later placeholder cleanup step reassembles a valid '&lt;?php' opener from the attacker-controlled value after it has already been embedded into an email template. Consequently, an attacker can inject PHP code that will be treated as executable server code, leading to full compromise of the application’s server environment. The weakness is a classic injection flaw catalogued as CWE-94.

Affected Systems

This flaw affects all installed versions of the s2Member plugin up to and including build 260927. The plugin is distributed under the name "clavaque:s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions" and is typically used on WordPress sites to manage subscriptions and content access. No version retirement or patch is mentioned in the available data, so all installations of any 260927 or earlier build remain vulnerable.

Risk and Exploitability

The CVSS score of 9.8 classifies it as Critical, and the EPSS score is not available, indicating the chance of exploitation has not been quantified but a high-CVSS vulnerability is generally considered likely to be targeted. The vulnerability is not listed in the CISA KEV catalog as of this analysis. The exploitation requires the attacker to submit an IPN POST with a crafted 'item_name' value; the description states that the attacker must have custom-level access or higher, implying that privileged accounts are needed to capitalize on the flaw. Because the IPN request originates from PayPal, an attacker would need to either compromise the PayPal account or use an authenticated session that can trigger the IPN process. The resulting code execution offers complete control over the compromised WordPress installation, including file modifications, database access, and lateral movement. The high CVSS score coupled with the necessity of authenticated access renders the risk significant for sites using vulnerable plugin versions.

Generated by OpenCVE AI on November 2, 2026 at 22:50 UTC.

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 a 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 2, 2026 at 22:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 21:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-11-02T21:30:23.199Z

Reserved: 2026-09-08T08:18:31.098Z

Link: CVE-2026-86596

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-02T22:17:23.490

Modified: 2026-11-02T22:17:23.633

Link: CVE-2026-86596

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T23:00:11Z

Weaknesses
  • CWE-94

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