CVE-2026-107748
Description
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.
Affected WordPress components
-
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor Plugin · profile-builderUp to and including 4.0.3View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- cozmoslabs User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor — Up to and including 4.0.3
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L582
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L585
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L593
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/front-end/default-fields/display-name/display-name.php#L81
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3741133/profile-builder
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3741133/profile-builder/trunk/features/functions.php
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/2f466add-992b-46c7-a1cc-5c05d59f4bdf?source=cve
- nvd.nist.gov Official NVD record