CVE-2026-109972

s2Member <= 261011 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'date_format' Shortcode Attribute

Published Oct 28, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 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': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 28, 2026, 4:10 PM
Reserved
Oct 13, 2026, 11:49 AM
Status
Deferred
Published
Oct 28, 2026, 7:16 AM
Modified
Oct 28, 2026, 5:17 PM