CVE-2026-95866 User Profile Builder <= 4.0.2 - Unauthenticated Stored Cross-Site Scripting via Avatar Field
Unauthenticated attackers can inject arbitrary scripts via the avatar field, which execute when administrators view the affected user profile.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-95866?
CVE-2026-95866 is a high-severity cross-site scripting vulnerability in cozmoslabs User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor, published on 25 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-95866?
How do I fix CVE-2026-95866?
No fix has been published for CVE-2026-95866 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-95866 being exploited?
There is no known exploitation of CVE-2026-95866 in the wild and no public exploit code.
Sources
Also known as GHSA-8232-rvww-wm4x.