{"id":"CVE-2026-109972","revision":"d15eeeca9161402b8cddcdb4093da19c","records":[{"revision":"d15eeeca9161402b8cddcdb4093da19c","observedAt":"2026-10-28T17:46:48.824+00:00","statement":{"source":"cve-program","id":"CVE-2026-109972","aliases":[],"title":"s2Member <= 261011 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'date_format' Shortcode Attribute","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.","state":0,"publishedAt":"2026-10-28T06:45:08.551+00:00","modifiedAt":"2026-10-28T16:10:21.905+00:00","affected":[{"ecosystem":"Vendor product","name":"s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"clavaque\",\n                    \"product\": \"s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"261011\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"severity":"MEDIUM"}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/2782f0f7-625d-4141-8e2c-4bdaa0219007?source=cve","https://plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/sc-gets-in.inc.php#L119","https://plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/sc-gets-in.inc.php#L98","https://plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/classes/sc-gets-in.inc.php#L53","https://plugins.trac.wordpress.org/browser/s2member/trunk/src/includes/codes.inc.php#L24","https://plugins.trac.wordpress.org/changeset/3751344/s2member/trunk/src/includes/classes/sc-gets-in.inc.php"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-109972","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-109972","identifiers":["CVE-2026-109972"]},"retained":false,"historicalAffected":[]}],"coverage":[]}