{
 "id": "WPSEC-2026-2007",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2007/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2007/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2007/index.md",
 "title": "User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor <= 4.0.5 - Authenticated (Author+) Privilege Escalation via Register Form in Query Loop and Block-Rendered Content",
 "description": "The User Profile Builder plugin for WordPress is vulnerable to Privilege Escalation via the Register form and the [wppb-register] shortcode in all versions up to, and including, 4.0.5, due to wppb_front_end_register() checking only the post returned by get_the_ID() when deciding whether a post author may publish a registration form and which role it may assign. A Register block placed inside a Query Loop is checked against the author of the looped post. Register shortcode text in excerpts, titles or embeds rendered by blocks is expanded by the outer page's do_shortcode() and checked against that page's author. This makes it possible for authenticated attackers with author-level access and above to publish a registration form that assigns a role they cannot grant, such as administrator, and then register an administrator account.",
 "plugin": {
  "slug": "profile-builder",
  "name": "User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor",
  "full_name": "User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor",
  "wordpress_org": "https://wordpress.org/plugins/profile-builder/",
  "advisories_url": "https://wpsec.com/vuln/plugin/profile-builder/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/profile-builder"
 },
 "type": "PRIV",
 "cwe": [
  "CWE-863"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 8.8,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "4.0.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.0.6"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.0.6",
 "remediation": "Update to 4.0.6 or later.",
 "fix_released": "2026-10-29T08:10:14+00:00",
 "published": "2026-10-30T08:47:55+00:00",
 "updated": "2026-10-29T17:37:52.845692+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2007/",
  "https://plugins.svn.wordpress.org/profile-builder/tags/4.0.6/",
  "https://wordpress.org/plugins/profile-builder/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/profile-builder",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-30"
 }
}