# s2Member <= 261011 - Authenticated (Contributor+) Stored Cross-Site Scripting via s2Get Shortcode

- **ID:** WPSEC-2026-1209
- **Plugin:** s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions (`s2member`), https://wordpress.org/plugins/s2member/
- **Affected versions:** all versions before 261017
- **Fixed in:** 261017 (Update to 261017 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/s2member
- **Fix released:** 2026-10-17
- **Published:** 2026-10-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1209/

## Description

The s2Member plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the [s2Get] shortcode in all versions up to, and including, 261011 due to insufficient output escaping of the formatted 'date_format' output and of returned constant and user field values. 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-1209/
- https://plugins.svn.wordpress.org/s2member/tags/261017/
- https://wordpress.org/plugins/s2member/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1209/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
