CVE-2025-4610: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cbutlerjr WP-Members Membership Plugin
The WP-Members Membership Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's wpmem_user_memberships shortcode in all versions up to, and including, 3.5.2 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.
AI Analysis
Technical Summary
CVE-2025-4610 is a stored cross-site scripting vulnerability identified in the WP-Members Membership Plugin for WordPress, maintained by cbutlerjr. This vulnerability affects all versions up to and including 3.5.2. The root cause is improper neutralization of user-supplied input within the plugin's wpmem_user_memberships shortcode, specifically due to insufficient input sanitization and lack of output escaping. Authenticated attackers with contributor-level privileges or higher can exploit this flaw by injecting arbitrary JavaScript code into pages generated by the plugin. When other users access these pages, the malicious scripts execute in their browsers, potentially allowing attackers to steal session cookies, perform actions on behalf of users, or deface website content. The vulnerability does not require user interaction beyond visiting the infected page, and the attack surface is scoped to authenticated users with contributor or higher roles, which are common in WordPress environments. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects network attack vector, low attack complexity, privileges required, no user interaction, scope changed, and low impact on confidentiality and integrity, with no impact on availability. No public exploits have been reported yet, but the vulnerability is publicly disclosed and cataloged by CVE and CISA. The plugin is widely used in WordPress sites for membership management, making this vulnerability relevant to many organizations relying on WordPress for content management and membership features.
Potential Impact
The impact of CVE-2025-4610 is significant for organizations using the WP-Members Membership Plugin, as it allows authenticated attackers to inject persistent malicious scripts into web pages. This can lead to session hijacking, unauthorized actions performed with victim user privileges, data theft, and website defacement. Since contributor-level access is sufficient to exploit the vulnerability, attackers who have compromised or registered contributor accounts can leverage this flaw to escalate their influence within the site. The vulnerability affects confidentiality and integrity of user data and site content but does not directly impact availability. Exploitation could undermine user trust, lead to data breaches, and cause reputational damage. Organizations with large user bases or sensitive membership data are at higher risk. Additionally, the scope change in the CVSS vector indicates that the vulnerability can affect components beyond the plugin itself, potentially impacting the broader WordPress environment. Although no known exploits are currently in the wild, the public disclosure increases the risk of future exploitation attempts.
Mitigation Recommendations
To mitigate CVE-2025-4610, organizations should immediately update the WP-Members Membership Plugin to a patched version once available. In the absence of an official patch, administrators should restrict contributor-level access to trusted users only and audit existing user roles to minimize risk. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script injection attempts targeting the wpmem_user_memberships shortcode can provide temporary protection. Additionally, applying Content Security Policy (CSP) headers can help mitigate the impact of injected scripts by restricting script execution sources. Site administrators should also enable security plugins that sanitize user input and monitor for suspicious activity. Regularly reviewing and sanitizing user-generated content, especially in membership-related shortcodes, is recommended. Finally, educating users about the risks of XSS and maintaining strong authentication controls will reduce the likelihood of attacker privilege escalation.
Affected Countries
United States, United Kingdom, Germany, Canada, Australia, France, India, Brazil, Japan, Netherlands
CVE-2025-4610: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cbutlerjr WP-Members Membership Plugin
Description
The WP-Members Membership Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's wpmem_user_memberships shortcode in all versions up to, and including, 3.5.2 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-4610 is a stored cross-site scripting vulnerability identified in the WP-Members Membership Plugin for WordPress, maintained by cbutlerjr. This vulnerability affects all versions up to and including 3.5.2. The root cause is improper neutralization of user-supplied input within the plugin's wpmem_user_memberships shortcode, specifically due to insufficient input sanitization and lack of output escaping. Authenticated attackers with contributor-level privileges or higher can exploit this flaw by injecting arbitrary JavaScript code into pages generated by the plugin. When other users access these pages, the malicious scripts execute in their browsers, potentially allowing attackers to steal session cookies, perform actions on behalf of users, or deface website content. The vulnerability does not require user interaction beyond visiting the infected page, and the attack surface is scoped to authenticated users with contributor or higher roles, which are common in WordPress environments. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects network attack vector, low attack complexity, privileges required, no user interaction, scope changed, and low impact on confidentiality and integrity, with no impact on availability. No public exploits have been reported yet, but the vulnerability is publicly disclosed and cataloged by CVE and CISA. The plugin is widely used in WordPress sites for membership management, making this vulnerability relevant to many organizations relying on WordPress for content management and membership features.
Potential Impact
The impact of CVE-2025-4610 is significant for organizations using the WP-Members Membership Plugin, as it allows authenticated attackers to inject persistent malicious scripts into web pages. This can lead to session hijacking, unauthorized actions performed with victim user privileges, data theft, and website defacement. Since contributor-level access is sufficient to exploit the vulnerability, attackers who have compromised or registered contributor accounts can leverage this flaw to escalate their influence within the site. The vulnerability affects confidentiality and integrity of user data and site content but does not directly impact availability. Exploitation could undermine user trust, lead to data breaches, and cause reputational damage. Organizations with large user bases or sensitive membership data are at higher risk. Additionally, the scope change in the CVSS vector indicates that the vulnerability can affect components beyond the plugin itself, potentially impacting the broader WordPress environment. Although no known exploits are currently in the wild, the public disclosure increases the risk of future exploitation attempts.
Mitigation Recommendations
To mitigate CVE-2025-4610, organizations should immediately update the WP-Members Membership Plugin to a patched version once available. In the absence of an official patch, administrators should restrict contributor-level access to trusted users only and audit existing user roles to minimize risk. Implementing a Web Application Firewall (WAF) with rules to detect and block malicious script injection attempts targeting the wpmem_user_memberships shortcode can provide temporary protection. Additionally, applying Content Security Policy (CSP) headers can help mitigate the impact of injected scripts by restricting script execution sources. Site administrators should also enable security plugins that sanitize user input and monitor for suspicious activity. Regularly reviewing and sanitizing user-generated content, especially in membership-related shortcodes, is recommended. Finally, educating users about the risks of XSS and maintaining strong authentication controls will reduce the likelihood of attacker privilege escalation.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-12T20:49:19.492Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682cd0f81484d88663aeb48b
Added to database: 5/20/2025, 6:59:04 PM
Last enriched: 2/27/2026, 2:44:48 PM
Last updated: 3/26/2026, 8:51:20 AM
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.