# CVE-2026-95866: Profile Builder stored XSS in avatar field

Source: https://junglewise.ai/threats/cve-2026-95866-the-user-profile-builder-beautiful-user-registration-forms-user  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-25. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-95866 · Severity: high · CVSS 7.2 · Published 2026-09-25

Profile Builder is a WordPress plugin that allows users to create registration forms and manage user profiles. An unauthenticated attacker can inject malicious scripts into a user's avatar field that execute when administrators view the affected account, potentially leading to account takeover or unauthorized actions within WordPress.

Technologies: [Cozmoslabs Profile Builder](https://junglewise.ai/threats/technologies/profile-builder). Vendors: [Cozmoslabs](https://junglewise.ai/threats/vendors/cozmoslabs).

## Quick answers

**Is CVE-2026-95866 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-95866 being exploited in the wild.

**How severe is CVE-2026-95866?** High severity, with a CVSS score of 7.2, published 25 September 2026.

**Which products and versions are affected?** Cozmoslabs Profile Builder up to and including 4.0.2.

**Is there a fix for CVE-2026-95866?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-95866 attacked?** It is in a software library.

**Am I affected by CVE-2026-95866?** Check whether you run Cozmoslabs Profile Builder at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a stored cross-site scripting (XSS) flaw in the avatar field handling of the wppb_save_avatar_value() function. Insufficient input sanitization allows unauthenticated attackers to inject arbitrary JavaScript by uploading a zero-length multipart file, bypassing validation checks and writing directly to user metadata. The payload is later rendered unescaped by wppb_default_fields_make_upload_button() when an administrator accesses the user profile.

## Affected products

- Cozmoslabs Profile Builder up to and including 4.0.2

## Timeline

- 2026-09-25: disclosed

## References

- [https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.2/front-end/default-fields/avatar/avatar.php](https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.2/front-end/default-fields/avatar/avatar.php)
- [https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.2/front-end/default-fields/avatar/avatar.php](https://plugins.trac.wordpress.org/browser/profile-builder/tags/4.0.2/front-end/default-fields/avatar/avatar.php)

## Related threats

- [Cozmoslabs Profile Builder broken access control](https://junglewise.ai/threats/cve-2026-125776-missing-authorization-vulnerability-in-cozmoslabs-profile)
- [Cozmoslabs Profile Builder sensitive data exposure](https://junglewise.ai/threats/cve-2026-125777-insertion-of-sensitive-information-into-sent-data-vulnerability)
- [Profile Builder unauthenticated cross-site scripting](https://junglewise.ai/threats/cve-2026-54855-unauthenticated-cross-site-scripting-xss-in-profile-builder-4-0-5)
- [WordPress Profile Builder privilege escalation in user roles](https://junglewise.ai/threats/cve-2026-54854-contributor-privilege-escalation-in-profile-builder-4-0-5)
- [Cozmoslabs Profile Builder broken access control vulnerability](https://junglewise.ai/threats/cve-2026-54853-missing-authorization-vulnerability-in-cozmoslabs-profile-builder)
