{
 "id": "WPSEC-2026-4371",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4371/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4371/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4371/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4371.json",
 "title": "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",
 "description": "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.",
 "plugin": {
  "slug": "wp-user-avatar",
  "name": "Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content",
  "full_name": "ProfilePress – Paid Membership, Online Courses (LMS), Ecommerce, User Registration & Login Form, User Profile & Restrict Content",
  "wordpress_org": "https://wordpress.org/plugins/wp-user-avatar/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-user-avatar/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-user-avatar"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.18.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.18.2"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.18.2",
 "remediation": "Update to 4.18.2 or later.",
 "fix_released": "2026-12-01T13:39:34+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:11:03.911395+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4371/",
  "https://plugins.svn.wordpress.org/wp-user-avatar/tags/4.18.2/",
  "https://wordpress.org/plugins/wp-user-avatar/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-user-avatar",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-12-03"
 }
}