CVE-2026-5095: Page Builder Framework <= 2.11.9 - Authenticated (Contributor+) Cross-Site Scripting via User Input
The Page Builder Framework theme for WordPress is vulnerable to Stored Cross-Site Scripting via the customwidthvalue post meta field in versions up to, and including, 2.11.9. This is due to insufficient input sanitization in the wpbfsavemetadata() function of inc/options.php, where user input from $POST['wpbfoptions']['customwidthvalue'] is stored directly into post meta without sanitization, combined with insufficient output escaping in the wpbfinnercontent() function of inc/helpers.php, where the stored value is concatenated into an HTML style attribute without escattr(). This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in posts that will execute whenever a user accesses the injected page, including when an administrator previews a pending post during the editorial review workflow.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue, and who is at risk from the payload?
An attacker needs an authenticated WordPress account with at least Contributor-level access. The stored script runs when someone accesses the affected page, including an administrator previewing a pending post during editorial review.
Which component and versions are affected?
The affected component is the Page Builder Framework theme for WordPress, in versions up to and including 2.11.9.
How can I determine whether a site may contain a malicious payload?
Review post metadata for the custom_width_value field, particularly on posts created or edited by Contributor-level or higher accounts. A malicious value may execute when the corresponding page is viewed or previewed.