Description
The s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'date_format' parameter in all versions up to, and including, <= 261011 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload bypasses wp_kses_post() on save because it contains no literal angle brackets — only backslash-escaped sequences that PHP's date() materializes into HTML tag characters at render time after WordPress's shortcode_parse_atts() applies stripcslashes() to the attribute value.
Published: 2026-10-28
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Apply Patch
AI Analysis

Impact

The s2Member WordPress plugin is vulnerable to stored cross‑site scripting through the date_format shortcode attribute. Insufficient sanitization allows an authenticated user with contributor‑level access to embed obfuscated script payloads that materialize into executable tags when the page renders. Attackers can thus inject arbitrary JavaScript that will run in the browsers of any visitor to the affected content, compromising confidentiality and integrity of the site content and potentially enabling credential theft or defacement.

Affected Systems

WordPress sites running the s2Member plugin version 261011 or earlier. The vendor is clavaque, and the product is the s2Member Membership plugin. All installations of the plugin with contributor or higher roles are at risk.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate impact; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Authenticated attackers with contributor privileges can exploit the stored XSS without needing to trick end users into clicking a link, which raises the likelihood of successful exploitation in environments where contributor access is widely granted. The lack of an available public exploit does not eliminate the risk, as the flaw requires only normal user interaction with the WordPress admin interface.

Generated by OpenCVE AI on October 28, 2026 at 08:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the s2Member plugin to any version above 261011 to remove the vulnerability.
  • Revoke or restrict contributor and higher roles from editing the date_format attribute or prevent them from adding new shortcodes to secure content.
  • Implement site‑wide content security policies and input filtering to mitigate potential XSS payloads if upgrades or role changes are delayed.

Generated by OpenCVE AI on October 28, 2026 at 08:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Description The s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'date_format' parameter in all versions up to, and including, <= 261011 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload bypasses wp_kses_post() on save because it contains no literal angle brackets — only backslash-escaped sequences that PHP's date() materializes into HTML tag characters at render time after WordPress's shortcode_parse_atts() applies stripcslashes() to the attribute value.
Title s2Member <= 261011 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'date_format' Shortcode Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-28T06:45:08.551Z

Reserved: 2026-10-13T11:49:37.650Z

Link: CVE-2026-109972

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T07:16:45.017

Modified: 2026-10-28T07:16:45.017

Link: CVE-2026-109972

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T08:30:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')