Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content <= 4.18.1 - Unauthenticated Missing Authorization to Legacy Avatar Deletion via Edit Profile Form

Medium 6.5 CWE-862Fixed in 4.18.2
ID
WPSEC-2026-4370
Plugin
ProfilePress – Paid Membership, Online Courses (LMS), Ecommerce, User Registration & Login Form, User Profile & Restrict Content (wp-user-avatar)
Affected
from 3.0 before 4.18.2
Remediation
Update to 4.18.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness
CWE-862
Usage
Plugin High · Affected versions High among sites WPSec scans, 2026-12-03
Attack surface
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content on WPSec AttackSurface
Fix released
Published

Description

The Paid Membership, Online Courses (LMS), Ecommerce, User Registration & Login Form, User Profile & Restrict Content plugin for WordPress is vulnerable to unauthorized data deletion via the edit profile form in all versions up to, and including, 4.18.1. This is due to the edit profile submission handler relying only on a nonce that is also printed on public forms for logged-out visitors, without checking that the requester is logged in. With no user ID, the legacy WP User Avatar cleanup query has no author restriction. This makes it possible for unauthenticated attackers to submit an edit profile request with an image upload that deletes every attachment marked as a legacy avatar, for every user on the site.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0