CVE-2026-15047

s2Member < 260805 - Contributor+ Stored XSS via Shortcode

Published Aug 10, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
The s2Member WordPress plugin before 260805 does not escape several shortcode attributes before outputting them inside an inline script context, allowing users with contributor-level access to inject arbitrary JavaScript that executes when a viewer opens the post (stored XSS).

Analysis

AI-generated

Technical impact

The s2Member WordPress plugin, for any version prior to 260805, fails to escape several shortcode attributes before inserting them into an inline script block. Contributors can therefore inject arbitrary JavaScript that is stored in the post and executed when a visitor opens the post, leading to a stored XSS flaw.

Affected Systems

WordPress sites using the s2Member plugin with a version less than 260805 are affected. The vulnerability applies to all users with contributor or higher privileges who can add or edit posts containing shortcodes.

Risk and Exploitability

Based on the description, it is inferred that if a contributor inserts a malicious shortcode, the plugin will store the unescaped JavaScript and render it inside an inline script block, executing in the browsers of any visitor who opens the post. Consequently, an attacker with contributor privileges can compromise site visitors by injecting and storing code. The risk is significant for sites that expose sensitive data or rely on user authentication. The EPSS score is < 1% and the vulnerability is not yet listed in the CISA KEV catalog, but the lack of input escaping and the inline script context make exploitation straightforward for authenticated users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the s2Member plugin to version 260805 or later.
  • If an upgrade is not immediately possible, remove or disable the use of shortcodes that trigger the vulnerability and restrict contributor roles from inserting shortcodes.
  • Apply a Content Security Policy that limits inline scripts or blocks execution of injected JavaScript.

Generated by OpenCVE AI on August 11, 2026 at 23:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
First Time appeared S2member
S2member s2member
Wordpress
Wordpress wordpress
Vendors & Products S2member
S2member s2member
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The s2Member WordPress plugin before 260805 does not escape several shortcode attributes before outputting them inside an inline script context, allowing users with contributor-level access to inject arbitrary JavaScript that executes when a viewer opens the post (stored XSS).
Title s2Member < 260805 - Contributor+ Stored XSS via Shortcode
References
Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Aug 11, 2026, 3:00 PM
Reserved
Jul 8, 2026, 12:46 PM
Status
Deferred
Published
Aug 10, 2026, 7:16 AM
Modified
Aug 26, 2026, 4:31 PM