Paid Membership, User Registration, User Profile & Restrict Content Plugin – ProfilePress <= 3.1.10 - Unauthenticated Cross-Site Scripting
Strategic Overview
- Status
- Patched in 3.1.11
- Affected Plugin
- Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress
- Affected Version
<= 3.1.10- CVSS
- 7.2High
- Weakness type
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CVE
CVE-2021-24522
At a glance
CVE-2021-24522 is a high-severity Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in the Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content WordPress plugin, affecting versions <= 3.1.10. It carries a CVSS score of 7.2 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 3.1.11; sites on affected versions should update now. Disclosed August 2021, reported by Stiofan.
Vulnerability Overview
The User Registration, User Profile, Login & Membership – ProfilePress (Formerly WP User Avatar) WordPress plugin before 3.1.11's widget for tabbed login/register was not properly escaped and could be used in an XSS attack which could lead to wp-admin access. Further, the plugin in several places assigned $_POST as $_GET which meant that in some cases this could be replicated with just $_GET parameters and no need for $_POST values.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Reaching this weakness in Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content <= 3.1.10 takes no account at all. Cross-site scripting happens when input from a request is written into a page without being escaped for the context it lands in, so the browser parses attacker-supplied text as markup or script.
Injected script runs with the privileges of whoever views the affected page, which is how these flaws turn into administrator session theft, silent account creation or persistent backdoors in page content. For Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content the fix is 3.1.11: builds <= 3.1.10 are affected, anything from 3.1.11 onward is not.
Remediation
Update to version 3.1.11, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content 3.1.11 closes this, and updating the plugin is the step that ends it.
- Firewall
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress
- 9.8CVE-2026-12497: ProfilePress <= 4.16.17 Privilege Escalation
CVE-2026-12497 - 9.8CVE-2021-34624: ProfilePress 3.0 - 3.1.3 Arbitrary File Upload
CVE-2021-34624 - 9.8CVE-2021-34622: ProfilePress 3.0 - 3.1.3 Privilege Escalation
CVE-2021-34622 - 9.8CVE-2021-34623: User Registration Privilege Escalation
CVE-2021-34623 - 9.8CVE-2021-34621: User Registration Privilege Escalation
CVE-2021-34621 - 8.8CVE-2026-13352: Paid Membership Plugin Limited Unsafe File Upload
CVE-2026-13352 - 8.1CVE-2026-3453: ProfilePress IDOR
CVE-2026-3453 - 7.3CVE-2026-19848: Paid Membership Plugin Arbitrary Shortcode Execution
CVE-2026-19848
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C