s2Member <= 261011 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'date_format' Shortcode Attribute
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The s2Member plugin for WordPress, which is used to run membership sites and content paywalls, is affected by a stored cross-site scripting flaw in its date formatting shortcode attribute. An attacker with contributor-level access or higher could insert malicious scripts into pages that would run in the browsers of any user who visits those pages, potentially compromising their session or data.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- clavaque s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions
through 261011
References 6
plugins.trac.wordpress.org
- browser/s2member/trunk/src/includes/classes/sc-gets-in.inc.php#L119
- browser/s2member/trunk/src/includes/classes/sc-gets-in.inc.php#L98
- browser/s2member/trunk/src/includes/classes/sc-gets-in.inc.php#L53
- browser/s2member/trunk/src/includes/codes.inc.php#L24
- changeset/3751344/s2member/trunk/src/includes/classes/sc-gets-in.inc.php