# ProfilePress – Paid Membership, Online Courses (LMS), Ecommerce, User Registration & Login Form, User Profile & Restrict Content <= 4.18.0 - Unauthenticated Privilege Escalation via Melange Form Registration Role

- **ID:** WPSEC-2026-3087
- **Plugin:** ProfilePress – Paid Membership, Online Courses (LMS), Ecommerce, User Registration & Login Form, User Profile & Restrict Content (`wp-user-avatar`), https://wordpress.org/plugins/wp-user-avatar/
- **Affected versions:** from 3.0 before 4.18.1
- **Fixed in:** 4.18.1 (Update to 4.18.1 or later.)
- **Severity:** High 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-269
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-13)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-user-avatar
- **Fix released:** 2026-11-12
- **Published:** 2026-11-13
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3087/

## Description

The Paid Membership, Online Courses (LMS), Ecommerce, User Registration & Login Form, User Profile & Restrict Content plugin for WordPress is vulnerable to Privilege Escalation via melange form registration in all versions up to, and including, 4.18.0. This is due to the plugin validating a submitted role, and falling back to a builder-assigned role, using the registration form that shares the melange form's ID instead of the melange form itself. This makes it possible for unauthenticated attackers to register with a role permitted by, or assigned by, an unrelated (possibly unpublished) registration form, which may be a privileged role such as Editor, depending on how that form is configured.

## References

- https://wpsec.com/vuln/WPSEC-2026-3087/
- https://plugins.svn.wordpress.org/wp-user-avatar/tags/4.18.1/
- https://wordpress.org/plugins/wp-user-avatar/

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

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.
