CVE-2025-7495: WP-Members <= 3.5.4.1 - Authenticated (Contributor+) Stored Cross-Site Scripting
The WP-Members Membership Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wpmemloginlink' shortcode in all versions up to, and including, 3.5.4.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
wordpress/wp-membersto a version that resolves this vulnerability.Fixed in 3.5.4.1 - Configuration
Update WP-Members to address the stored XSS in the 'wpmem_login_link' shortcode by fixing insufficient input sanitization and output escaping for user supplied attributes. Vulnerable in all versions up to and including 3.5.4.1.
WP-Members Membership Plugin wpmem_login_link shortcode output escaping / input sanitization = sanitise and escape all user-supplied shortcode attributes before output
Event History
Frequently Asked Questions
What is the severity of CVE-2025-7495?
The severity of CVE-2025-7495 is considered high due to stored cross-site scripting vulnerabilities that can affect users.
How do I fix CVE-2025-7495?
To fix CVE-2025-7495, update the WP-Members Membership Plugin to version 3.5.4.2 or later.
What versions of the WP-Members Membership Plugin are affected by CVE-2025-7495?
CVE-2025-7495 affects all versions of the WP-Members Membership Plugin up to and including version 3.5.4.1.
What type of vulnerability is CVE-2025-7495?
CVE-2025-7495 is a stored cross-site scripting (XSS) vulnerability resulting from inadequate input sanitization.
Who is affected by CVE-2025-7495?
Users of the WP-Members Membership Plugin versions up to 3.5.4.1 are at risk of exploitation due to CVE-2025-7495.