User Profile Builder <= 4.0.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'display_name' Parameter
What fixes it
No source in this snapshot names a fixed version.
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.
Text from CVE List
Affected versions 1
- User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editoraffected: all versions through 4.0.3CVE List
References 7
- wordfence.com/threat-intel/vulnerabilities/id/2f466add-992b-46c7-a1cc-5c05d59f4bdf?source=cveReferencevia CVE List
- plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L582Referencevia CVE List
- plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L585Referencevia CVE List
- plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/features/functions.php#L593Referencevia CVE List
- plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.3/front-end/default-fields/display-name/display-name.php#L81Referencevia CVE List
- plugins.trac.wordpress.org/changeset/3741133/profile-builderReferencevia CVE List
- plugins.trac.wordpress.org/changeset/3741133/profile-builder/trunk/features/functions.phpReferencevia CVE List