Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate registration/profile form with Avatar field
-
DeliverySubmit form with zero-length multipart file + raw payload
-
ExploitBypass wppb_verify_attachment_id() into user meta
-
ExecutionAdmin views affected account in wp-admin
-
PersistPayload rendered unescaped, executes in admin session
-
ImpactHijack admin session / act on privileged actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a User Profile Builder front-end form (registration or edit-profile) that exposes the Avatar field, so the plugin must be installed (<=4.0.2) and the avatar field configured on a public form. The attacker exploits the zero-length multipart file branch in wppb_save_avatar_value() to write an unsanitized raw value to user meta, bypassing the wppb_save_attachment_id()/wppb_verify_attachment_id() validation path. Actual script execution is gated on a user - specifically an administrator - subsequently viewing the affected account, where wppb_default_fields_make_upload_button() renders the stored value unescaped; no attacker authentication is required (PR:N) but the payload lies dormant until a privileged victim loads the injected profile. |
| Impact | This is a genuine but moderate-priority issue. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2) describes an unauthenticated, low-complexity, network-reachable stored XSS with a scope change, which is consistent with the described code path: wppb_save_avatar_value() writes a raw request value to user meta via the zero-length multipart branch, bypassing wppb_save_attachment_id()/wppb_verify_attachment_id(), and the payload is later rendered unescaped by wppb_default_fields_make_upload_button(). The C:L/I:L/A:N impact correctly reflects XSS (limited confidentiality/integrity in the victim's browser session, no availability loss). No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no signal of active or automated exploitation - this is not confirmed actively exploited and no public exploit was identified at time of analysis. One tension worth flagging: CVSS is marked UI:N, but the description says the script executes 'whenever a user accesses an injected page' and specifically 'when an administrator views the affected account,' meaning a privileged victim must load the injected profile for real impact - the raw score slightly understates the practical trigger dependency. Net: real and patch-worthy (highest impact is admin-session XSS on a scope-changed boundary), but absent EPSS/KEV/POC it is a routine 'patch on normal cadence' WordPress plugin vuln rather than an emergency. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a User Profile Builder front-end registration or profile form that includes an Avatar field, crafting the request so the multipart avatar file is zero-length while a raw meta value carrying a script payload is supplied, which is stored directly to user meta without validation. When an administrator later opens that user's account in wp-admin, the stored value is adopted as an attachment URL and rendered unescaped, executing the attacker's script in the admin's authenticated session. No public exploit code was identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Stored cross-site scripting in the WordPress plugin User Profile Builder (Profile Builder) through version 4.0.2 allows unauthenticated attackers to write raw, unsanitized input into a user's avatar meta by submitting a zero-length multipart file to any public registration or edit-profile form that exposes the Avatar field; the payload then lies dormant until a victim - typically an administrator - views the affected account, at which point it is rendered unescaped as an attachment URL. The assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N (7.2), indicating remote and unauthenticated injection with low confidentiality and integrity impact and a scope change because the script executes within the WordPress administrative context; the practical trigger still depends on a privileged user subsequently loading the injected profile. No public exploit code has been identified and no active exploitation has been confirmed - it is a genuine but moderate-priority issue that should be prioritized where public registration forms with the Avatar field are exposed.
RemediationAI
Patch status: Upstream fix available (PR/commit); released patched version not independently confirmed. The remediation changeset is https://plugins.trac.wordpress.org/changeset?reponame=&old=3708665%40profile-builder&new=3708665%40profile-builder, and the vulnerable code paths are documented at upload_helper_functions.php#L286 and avatar.php#L127/#L67; administrators should track the vendor advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/68cef86f-3a6a-47c4-a092-de3bb40ac157?source=cve) and apply the first plugin release that includes changeset 3708665 or later, backing up the database before upgrading. Until a confirmed patched release is applied, the most effective compensating control is to remove or disable the Avatar field from every public front-end form (registration and edit-profile) using the plugin's form builder, which eliminates the unauthenticated injection surface at the cost of removing user avatar uploads; deactivating the plugin entirely achieves the same result with broader loss of profile functionality. Critically, patching or disabling the plugin does not clean payloads already written to user meta, so administrators should audit wp_usermeta for avatar values that do not resolve to legitimate attachment IDs and delete them before restoring normal profile viewing, and they should avoid opening untrusted user accounts until that sweep is complete. As a supplementary control, a WAF can be configured to reject multipart form submissions containing script-bearing values in avatar file fields, though signature-based filtering is bypassable and should not replace the fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a CWE-79 improper-neutralization issue rooted in the plugin's avatar upload pipeline (vendor Cozmoslabs, slug profile-builder, CPE cpe:2.3:a:cozmoslabs:user_profile_builder_-_beautiful_user_registration_forms,_user_profiles_&_user_role_editor:*:*:*:*:*:*:*:*). Under normal operation, uploaded avatars pass through wppb_save_attachment_id() and wppb_verify_attachment_id(), which validate the attachment and confirm that the value written to user meta actually refers to a legitimate media item. The vulnerable zero-length multipart file branch in wppb_save_avatar_value() (front-end/default-fields/upload/upload_helper_functions.php line 286 in tag 4.0.2) skips that path entirely and writes the raw request value straight into user meta. The plugin later adopts the stored value as a WordPress attachment URL, and wppb_default_fields_make_upload_button() (front-end/default-fields/avatar/avatar.php lines 67 and 127) renders it without escaping, completing the stored XSS chain. Because the sink is an administrative rendering context and the plugin's sanitization boundary is crossed, the assessed vector carries a scope change (S:C) alongside low confidentiality and integrity impact.
Know when User Profile Builder Beautiful User Registration Forms User Profiles User Role Editor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated network-reachable stored XSS (PR:N/AV:N/AC:L) crossing into an admin browser session (S:C) yields limited C:L/I:L, no availability impact; UI:N follows Wordfence convention for passive admin-view triggering.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Avatar Field in all versions up to, and including, 4.0.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The zero-length multipart file branch in wppb_save_avatar_value() writes the raw request value directly to user meta, bypassing the wppb_save_attachment_id()/wppb_verify_attachment_id() validation path; the stored payload is later adopted as a WordPress attachment URL and rendered unescaped by wppb_default_fields_make_upload_button() when an administrator views the affected account.
Articles & Coverage 1
Executive ViewAI
WordPress sites running the User Profile Builder (Profile Builder) plugin through version 4.0.2 are exposed to a stored cross-site scripting issue that allows unauthenticated attackers to inject data through public registration or profile-edit forms exposing the Avatar field. The injected content can later execute in a privileged user's browser when they view the affected profile, potentially leading to session theft, data exposure, or unauthorized administrative actions. Leadership should prioritize remediation: no vendor-released patch identified at time of analysis, and no public exploit identified at time of analysis.
No vendor-released patch identified at time of analysis; disable or restrict public registration/edit-profile forms that expose the Avatar field, deactivate the User Profile Builder plugin if not essential, enforce MFA and least privilege for administrators, and deploy WAF rules to block zero-length multipart uploads and sanitize avatar meta until a vendor fix is available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in User Profile Builder Beautiful User Registration Forms User Profiles User Role Editor
View allUnauthenticated privilege escalation in the Cozmoslabs User Profile Builder WordPress plugin (all versions up to and inc
Stored cross-site scripting in the WordPress Profile Builder plugin (Cozmoslabs) affects all versions up to and includin
Stored cross-site scripting in the User Profile Builder WordPress plugin (Cozmoslabs, versions ≤3.15.7) permits unauthen
The WordPress plugin User Profile Builder (Beautiful User Registration Forms, User Profiles & User Role Editor) through
Stored cross-site scripting in the WordPress Profile Builder plugin (CozmoLabs) affects all versions up to and including
Stored Cross-Site Scripting in the User Profile Builder WordPress plugin (versions up to and including 4.0.0) allows aut
Stored cross-site scripting in the WordPress plugin User Profile Builder (Profile Builder by Cozmoslabs) through version
Stored XSS in the User Profile Builder WordPress plugin (all versions through 4.0.0) allows unauthenticated attackers to
User Profile Builder plugin for WordPress up to version 3.15.5 allows authenticated subscribers and above to reassign ow
EUVD-2026-86598
GHSA-8232-rvww-wm4x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB