{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-0889",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-14T12:52:26Z",
 "summary": "User Profile Builder <= 4.0.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Display Name in Avatar Image",
 "details": "The User Profile Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the avatar image alt text in all versions up to, and including, 4.0.3. This is due to the wppb_changeDefaultAvatar() function building the custom avatar <img> tag from the unescaped alt value, which can hold the user's display name, inside a single-quoted attribute. This makes it possible for authenticated attackers with Subscriber-level access and above, who have uploaded a custom avatar, to inject arbitrary web scripts through their display name. The scripts run whenever a user opens a page that renders their avatar with the display name as alt text.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "profile-builder"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "4.0.4"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 4.0.4"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-0889/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/profile-builder/tags/4.0.4/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/profile-builder/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-0889/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
