Vulnerability in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor — CVE-2026-107748
What to do now
Update User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor to 4.0.4 or later.
Affected versions
- Everything up to and including 4.0.3
Affected: User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor (plugin, profile-builder)
What the vulnerability is
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.
Sources
- https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L582
- https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L585
- https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L593
- https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/front-end/default-fields/display-name/display-name.php#L81
- https://plugins.trac.wordpress.org/changeset/3741133/profile-builder
- https://plugins.trac.wordpress.org/changeset/3741133/profile-builder/trunk/features/functions.php