User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor <= 4.0.7 - Unauthenticated Sensitive Information Exposure via REST API Comments on Restricted Posts

Medium 5.3 CWE-200Fixed in 4.0.8
ID
WPSEC-2026-4273
Plugin
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor (profile-builder)
Affected
all versions before 4.0.8
Remediation
Update to 4.0.8 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-01
Attack surface
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor on WPSec AttackSurface
Fix released
Published

Description

The User Profile Builder plugin for WordPress is vulnerable to Sensitive Information Exposure via the REST API comments endpoint in all versions up to, and including, 4.0.7, due to the Content Restriction feature removing comments of restricted posts only through the the_comments filter, which the single-comment REST route (/wp/v2/comments/<id>) bypasses because it loads the comment with get_comment(). This makes it possible for unauthenticated attackers to read comments posted on posts restricted with the plugin's Content Restriction feature.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0