---
id: CVE-2026-107748
title: >-
  The User Profile Builder – Beautiful User Registration Forms, User Profiles &
  User Role Editor plugin for WordPress is vulnerable to Stored Cross-Site
  Scripting via the 'display_name' parameter in all versions up to, and
  including, 4.0.3…
summary: >-
  The User Profile Builder – Beautiful User Registration Forms, User Profiles &
  User Role Editor plugin for WordPress is vulnerable to Stored Cross-Site
  Scripting via the 'display_name' parameter in all versions up to, and
  including, 4.0.3…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: cozmoslabs
product: >-
  User Profile Builder – Beautiful User Registration Forms, User Profiles & User
  Role Editor
affected:
  - >-
    user_profile_builder_beautiful_user_registration_forms_user_profiles_user_role_editor
    <= 4.0.3
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T15:17:05.440'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107748'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L582
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L585
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L593
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/front-end/default-fields/display-name/display-name.php#L81
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3741133/profile-builder'
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3741133/profile-builder/trunk/features/functions.php
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/2f466add-992b-46c7-a1cc-5c05d59f4bdf?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.00195
epssPercentile: 0.09139
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T14:34:33.130780Z'
ingestedAt: '2026-10-16T06:00:00.395Z'
---

## Overview

The User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'display_name' parameter in all versions up to, and including, 4.0.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload persists in wp_comments.comment_author independently of the user account, so removing or changing the attacker's display name after the comment is posted does not neutralize the stored script.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
