Skip to main content

s2Member CVE-2026-109972

| EUVDEUVD-2026-111741 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-28 Wordfence GHSA-2wqw-8w6m-g247
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as contributor or above
  2. Delivery
    Insert s2Member shortcode with crafted date_format
  3. Exploit
    Escaped payload bypasses wp_kses_post() on save
  4. Execution
    PHP date() renders it as script at view time
  5. Impact
    Script executes in victim browser, hijack session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated WordPress account with contributor-level privileges or higher on a site running s2Member version 261011 or earlier; a fully unauthenticated attacker cannot exploit this. The attacker must be able to place an s2Member shortcode and supply a crafted 'date_format' attribute value consisting of backslash-escaped sequences (not literal angle brackets) so the payload survives wp_kses_post() on save and is then converted into HTML tag characters by PHP's date() at render time (after shortcode_parse_atts() applies stripcslashes()). The stored payload fires whenever any user - including higher-privileged admins - views the injected page. Limiting factors: the contributor-account prerequisite, the plugin being installed with the vulnerable shortcode usable, and the version ceiling; sites that grant author/editor/admin roles only to fully trusted staff face substantially lower real-world risk.

Impact

This is a genuine but moderate-priority issue, not a drop-everything emergency. The CVSS 3.1 base score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) is elevated by the scope change (S:C), which correctly reflects that a stored XSS payload injected by a low-privileged contributor executes in the browser context of other users who view the page. The key risk-limiting signal is PR:L: exploitation requires an authenticated account with contributor-level access or above, so this is not reachable by anonymous internet attackers. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a self-restricted, authenticated-only web flaw. No EPSS probability, no CISA KEV listing, and no public exploit code were provided in the input, so there is no signal of active or widespread exploitation; absence of these is not evidence of safety but does argue against imminent mass exploitation. The description is unusually specific about mechanism - a sanitization bypass where backslash-escaped sequences survive wp_kses_post() because they contain no literal angle brackets, then PHP's date() materializes them into HTML tag characters at render time after shortcode_parse_atts() applies stripcslashes() - which raises confidence that the vulnerability is real and well understood. Net assessment: a credible stored-XSS privilege-boundary bypass worth patching on a normal cycle, with real impact on sites that grant contributor accounts to semi-trusted users; low real risk where all authors are fully trusted administrators.

Exploit ScenarioDerived

A site operator grants contributor-level accounts to guest writers. A malicious contributor saves a post or page containing the vulnerable s2Member shortcode with a crafted 'date_format' attribute built from backslash-escaped sequences that pass wp_kses_post() because they contain no literal angle brackets. When an administrator or other visitor later views that page, PHP's date() renders the escaped sequences into live HTML/script tags and the script executes in the victim's browser, enabling session/cookie theft or actions as the viewing user. No public exploit code was identified in the provided sources, though the description documents the bypass technique in detail.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

Stored cross-site scripting in s2Member versions up to and including 261011 allows authenticated users with contributor-level privileges or higher to inject script-bearing content through the date_format shortcode attribute, which then runs in the browser of any user who views the affected page. The payload survives WordPress wp_kses_post() sanitization because it contains backslash-escaped sequences rather than literal angle brackets, and PHP date() turns those sequences into HTML tag characters at render time. No public exploit was identified at time of analysis; the CVSS 3.1 score is 6.4, and this is a moderate-priority issue rather than a drop-everything emergency.

RemediationAI

Upstream fix available as changeset 3751344 touching sc-gets-in.inc.php; a released patched version is not independently confirmed in the provided data. Update s2Member to a release that contains changeset 3751344 and confirm the installed version includes it before relying on the fix, using the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/2782f0f7-625d-4141-8e2c-4bdaa0219007?source=cve for vendor-linked tracking. If a patched release cannot be confirmed, disable or remove the plugin, or restrict contributor-and-above accounts to fully trusted users, because exploitation requires authenticated access at contributor level or higher and the ability to place the affected shortcode; disabling the plugin removes the vulnerable rendering path at the cost of membership and content-restriction functionality, while restricting accounts reduces editorial flexibility.

Affected VersionsENISA

s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions 0 ≤261011

Affected Packages

euvd s2member_excellent_for_all_kinds_of_memberships_content_restriction_paywalls_member_access_subscriptions no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

s2Member is a WordPress membership and content-restriction plugin that processes shortcode attributes. The vulnerable path is the shortcode date_format attribute: values pass through WordPress shortcode_parse_atts(), which applies stripcslashes(), and are later processed by PHP date(), so backslash-escaped sequences can become angle brackets and other HTML characters after the save-time sanitizer has already accepted the input. That is why wp_kses_post() does not block the stored payload and why the issue is CWE-79, improper neutralization of input during web page generation. The supplied CPE identifies the clavaque s2Member WordPress plugin with a wildcard version, matching the advisory range of 261011 and earlier. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N reflects network reachability, low privileges, no user interaction, changed scope, and low confidentiality and integrity impact; the contributor-level account requirement is the main prerequisite.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Contributor-level account needed so PR:L; stored payload fires on victim page view giving S:C with C:L/I:L in the victim's browser context; no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
established but niche WordPress membership/paywall plugin, not universally deployed
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy