/Vulnerability Library

Profile Builder <= 3.11.8 - Unauthenticated Privilege Escalation

CVE-2024-6695
Verified

Description

Profile Builder and Profile Builder Pro WordPress plugins up to and including 3.11.8 compare the submitted registration email against existing users and pending signups without trimming whitespace. Because MySQL string equality ignores trailing spaces but PHP does not, and a leading space desyncs the two checks entirely, an unauthenticated attacker can register a pending signup bound to an existing user's email (e.g. the administrator) by submitting that email with a leading space. When the signup is later activated it collides with the existing account, granting the attacker administrative access without holding any account on the site. Exploitation requires the plugin's Email Confirmation feature to be enabled and a page containing the [wppb-register] shortcode.

Severity

Critical

CVSS Score

9.8

Exploit Probability

3%

Affected Product

profile-builder

Published Date

November 11, 2026

Template Author

dhiyaneshdk

CVE-2024-6695.yaml
9.8Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE ID:
cve-2024-6695
CWE ID:
cwe-269

References

https://nvd.nist.gov/vuln/detail/CVE-2024-6695https://wpscan.com/vulnerability/CVE-2024-6695https://plugins.trac.wordpress.org/changeset?old_path=/profile-builder/tags/3.11.8&new_path=/profile-builder/tags/3.11.9

Remediation Steps

Update Profile Builder / Profile Builder Pro to 3.11.9 or later, which trims the email before the duplicate-account and pending-signup checks.