# User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor <= 4.0.7 - Unauthenticated Private Website Bypass via Query Vars

- **ID:** WPSEC-2026-4276
- **Plugin:** User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor (`profile-builder`), https://wordpress.org/plugins/profile-builder/
- **Affected versions:** all versions before 4.0.8
- **Fixed in:** 4.0.8 (Update to 4.0.8 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-288
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/profile-builder
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4276/

## Description

The User Profile Builder plugin for WordPress is vulnerable to an access restriction bypass of the Private Website feature in all versions up to, and including, 4.0.7, due to wppb_private_website_functionality() exempting requests by the URL path of the redirect page or of an allowed path without accounting for public query vars (such as 'pagename', 'page_id' or 'p') that replace the content the path resolves to. This makes it possible for unauthenticated attackers to view private pages and posts on sites with Private Website enabled by adding such query vars to the URL of the exempted page.

## References

- https://wpsec.com/vuln/WPSEC-2026-4276/
- https://plugins.svn.wordpress.org/profile-builder/tags/4.0.8/
- https://wordpress.org/plugins/profile-builder/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4276/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
