# Simple Membership <= 4.8.9 - Unauthenticated Stored Cross-Site Scripting via Payment 'swpm_id' Custom Field

- **ID:** WPSEC-2026-3755
- **Plugin:** Simple Membership (`simple-membership`), https://wordpress.org/plugins/simple-membership/
- **Affected versions:** all versions before 4.9.0
- **Fixed in:** 4.9.0 (Update to 4.9.0 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/simple-membership
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3755/

## Description

The Simple Membership plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'swpm_id' value of the payment custom field in all versions up to, and including, 4.8.9. This is due to the member ID sent by the buyer's browser being saved on the payment record without validation and later printed unescaped in the admin Payments list. This makes it possible for unauthenticated attackers who complete a checkout to inject arbitrary web scripts that execute when an administrator views the Payments page.

## References

- https://wpsec.com/vuln/WPSEC-2026-3755/
- https://plugins.svn.wordpress.org/simple-membership/tags/4.9.0/
- https://wordpress.org/plugins/simple-membership/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3755/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
