{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4371",
 "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 - Authenticated (Author+) Stored Cross-Site Scripting via 'wp-user-avatar' Parameter",
 "details": "The Paid Membership, Online Courses (LMS), Ecommerce, User Registration & Login Form, User Profile & Restrict Content plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wp-user-avatar' profile parameter in all versions up to, and including, 4.18.1. This is due to insufficient input sanitization (the value is only passed through strip_tags() and is not required to be an attachment ID) and missing output escaping when the stored value is printed into a hidden input on the user profile screen. This makes it possible for authenticated attackers, with author-level access and above, to inject attributes into that input. Their scripts run when an administrator views the attacker's profile and interacts with the page.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wp-user-avatar"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "4.18.2"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 4.18.2"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4371/"
  },
  {
   "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-4371/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
