CVE-2026-15047 s2Member < 260805 - Contributor+ Stored XSS via Shortcode
Contributors can inject arbitrary JavaScript via shortcode attributes in s2Member, leading to stored XSS when posts are viewed.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-15047?
CVE-2026-15047 is a medium-severity cross-site scripting vulnerability in Unknown s2Member, published on 10 Aug 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official 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).
Weakness: CWE-79
Which versions are affected by CVE-2026-15047?
How do I fix CVE-2026-15047?
No fix has been published for CVE-2026-15047 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-15047 being exploited?
There is no known exploitation of CVE-2026-15047 in the wild and no public exploit code.
Sources
Also known as GHSA-7g36-jx9h-h5j4.