Skip to main content
EPSS 0.3%top 85%

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

0
High
VulnerabilityCVE-2026-95866cvecve-2026-95866cwe-79
Published: 09/25/2026 (09/25/2026, 07:40:27 UTC)
Source: CVE Database V5
Vendor/Project: cozmoslabs
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected software

cozmoslabs

User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor

Affected versions
>=0 <=4.0.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/25/2026, 08:02:47 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses