{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4370",
 "modified": "2026-12-03T12:50:55Z",
 "published": "2026-12-03T12:50:55Z",
 "summary": "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",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wp-user-avatar"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "3.0"
      },
      {
       "fixed": "4.18.2"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 3.0 before 4.18.2"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4370/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wp-user-avatar/tags/4.18.2/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wp-user-avatar/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4370/",
  "cwe_ids": [
   "CWE-862"
  ],
  "vulnerability_type": "NO AUTHORISATION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
