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.
Published: 2026-10-16
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

The User Profile Builder plugin for WordPress contains a stored cross‑site scripting flaw that allows an attacker who is logged in as a subscriber or higher to inject arbitrary JavaScript through the 'display_name' field. Because the plugin does not sanitize or escape the input before storing it in the database and also fails to escape the output when rendering the value, the malicious code is saved in wp_comments.comment_author and will run whenever a page that displays that comment is viewed. The injected payload remains active even if the attacker later changes or deletes the author name associated with the comment, meaning the XSS persists until the comment itself is removed.

Affected Systems

WordPress sites that have installed any version of the User Profile Builder plugin up to and including 4.0.3 are affected. Users with subscriber or higher capabilities can exploit the vulnerability by creating or editing a comment that contains a harmful script in the display_name field. Any publicly accessible page that renders the affected comments will expose other visitors to the stored script.

Risk and Exploitability

The CVSS score of 6.4 signals a moderate severity. The EPSS score of less than 1% suggests that the likelihood of exploitation in the wild is low at present, and the issue is not listed in CISA’s KEV catalog. However, because the flaw requires only authenticated access and many WordPress sites grant subscriber access to a large user base, the attack surface is significant. Exploitation is straightforward: after posting or editing a comment, the attacker places malicious JavaScript into the display_name field; when any user visits a page that displays the comment, the attacker’s code executes in the victim’s browser context.

Generated by OpenCVE AI on October 16, 2026 at 14:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the User Profile Builder plugin to the latest released version (4.0.4 or newer) where the input sanitization bug has been fixed.
  • If an upgrade cannot be performed immediately, apply manual input filtering to the 'display_name' field by escaping it with WordPress sanitization functions such as wp_kses() or esc_html() before storing or outputting the value.
  • Delete or edit any existing comments that contain malicious payloads in the comment_author field to remove the persisting XSS vector.

Generated by OpenCVE AI on October 16, 2026 at 14:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 16 Oct 2026 05:45:00 +0000

Type Values Removed Values Added
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.
Title User Profile Builder <= 4.0.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'display_name' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-16T14:39:04.655Z

Reserved: 2026-10-08T18:30:17.844Z

Link: CVE-2026-107748

cve-icon Vulnrichment

Updated: 2026-10-16T14:34:34.367Z

cve-icon NVD

Status : Deferred

Published: 2026-10-16T06:17:05.990

Modified: 2026-10-16T15:17:05.440

Link: CVE-2026-107748

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T14:45:13Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')