CVE-2026-95866: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cozmoslabs User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor
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.
AI Analysis
Technical Summary
CVE-2026-95866 is a stored cross-site scripting vulnerability in the User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor WordPress plugin. Versions up to and including 4.0.2 are affected. The vulnerability occurs because the zero-length multipart file branch in the wppb_save_avatar_value() function writes raw request data directly to user meta, bypassing the usual validation and verification functions (wppb_save_attachment_id() and wppb_verify_attachment_id()). The stored malicious payload is later used as a WordPress attachment URL and rendered without escaping by wppb_default_fields_make_upload_button() when an administrator views the user profile, enabling script execution.
Potential Impact
An unauthenticated attacker can inject arbitrary web scripts into user profiles via the avatar field. These scripts execute in the context of an administrator's browser when viewing the affected profile, potentially leading to credential theft, session hijacking, or other malicious actions. The vulnerability has a CVSS 3.1 score of 7.2 (high severity) with network attack vector, low attack complexity, no privileges required, no user interaction, and impacts confidentiality and integrity with scope change.
Mitigation Recommendations
No official patch or fix is currently documented for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is available, restrict access to user profile management interfaces to trusted administrators only and consider disabling or removing the plugin if possible. Avoid viewing untrusted user profiles to reduce risk.
CVE-2026-95866: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in cozmoslabs User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor
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 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.
CVSS v3.1
Score 7.2high
Affected software
cozmoslabs
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-95866 is a stored cross-site scripting vulnerability in the User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor WordPress plugin. Versions up to and including 4.0.2 are affected. The vulnerability occurs because the zero-length multipart file branch in the wppb_save_avatar_value() function writes raw request data directly to user meta, bypassing the usual validation and verification functions (wppb_save_attachment_id() and wppb_verify_attachment_id()). The stored malicious payload is later used as a WordPress attachment URL and rendered without escaping by wppb_default_fields_make_upload_button() when an administrator views the user profile, enabling script execution.
Potential Impact
An unauthenticated attacker can inject arbitrary web scripts into user profiles via the avatar field. These scripts execute in the context of an administrator's browser when viewing the affected profile, potentially leading to credential theft, session hijacking, or other malicious actions. The vulnerability has a CVSS 3.1 score of 7.2 (high severity) with network attack vector, low attack complexity, no privileges required, no user interaction, and impacts confidentiality and integrity with scope change.
Mitigation Recommendations
No official patch or fix is currently documented for this vulnerability. Users should monitor the vendor's advisory for updates. Until a fix is available, restrict access to user profile management interfaces to trusted administrators only and consider disabling or removing the plugin if possible. Avoid viewing untrusted user profiles to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-09-22T17:00:07.795Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ab62746f7a7c541068154da
Added to database: 09/25/2026, 07:48:22 UTC
Last enriched: 09/25/2026, 08:02:47 UTC
Last updated: 09/26/2026, 02:48:42 UTC
Views: 20
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.