# Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content <= 4.18.1 - Authenticated (Subscriber+) Limited File Upload via Legacy Avatar Upload

- **ID:** WPSEC-2026-4372
- **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:** all versions before 4.18.2
- **Fixed in:** 4.18.2 (Update to 4.18.2 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-434
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-user-avatar
- **Fix released:** 2026-12-01
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4372/

## Description

The Paid Membership, Online Courses (LMS), Ecommerce, User Registration & Login Form, User Profile & Restrict Content plugin for WordPress is vulnerable to limited file uploads via the legacy avatar upload on the profile screen in all versions up to, and including, 4.18.1. This is due to the upload checking only the client-supplied MIME type and calling wp_handle_upload() without limiting it to image types. This makes it possible for authenticated attackers, with subscriber-level access and above, to store non-image files in the uploads directory, where they can be served. Only file types WordPress otherwise allows for that user can be stored.

## References

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

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

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.
