Security Alert Summary
The Page Builder Framework theme contains a stored cross-site scripting (XSS) vulnerability in how a custom post meta value is saved and later output. Authenticated users with contributor-level access and above can store malicious script in the custom_width_value post meta, which may execute when the post is viewed or when an administrator previews pending content.
CVE Details
- CVE ID: CVE-2026-5095
- Affected plugin/component: Page Builder Framework theme
- Affected versions: Versions up to and including 2.11.9
- Published: December 3, 2026 at 2:19:17 PM UTC
- Last modified: December 3, 2026 at 2:19:17 PM UTC
- CVSS v3.1: Base score 6.4, MEDIUM
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NAttack Vector: NETWORKAttack Complexity: LOWPrivileges Required: LOWUser Interaction: NONEScope: CHANGEDConfidentiality: LOWIntegrity: LOWAvailability: NONE
- Authentication / Privileges / User interaction: Authenticated attacker with low privileges (description states Contributor-level access and above); no user interaction required for exploitation beyond visiting the injected page.
- Primary impact: Limited confidentiality and integrity impact via script injection; no direct availability impact indicated.
- CWE / Weakness: CWE-79 (Cross-site Scripting)
Technical Details
This vulnerability is a stored cross-site scripting issue caused by insufficient input sanitization and output escaping in the theme code. User input from $_POST['wpbf_options']['custom_width_value'] is saved directly into post meta by the wpbf_save_metadata() function in inc/options.php without adequate sanitization. Later, the stored value is concatenated into an inline HTML style attribute by the wpbf_inner_content() function in inc/helpers.php without using esc_attr() or equivalent escaping. Because the value is persisted to post meta and later rendered into page output, an authenticated user with contributor-level access can inject scripts that will execute when the post is viewed or when an administrator previews a pending post during editorial review.
The core issue is missing input validation on save combined with missing context-appropriate escaping on output for a value placed into an HTML attribute, allowing script injection into rendered pages.
How This Could Impact Your Website
Consider a site with multiple user roles: the site owner, internal editors, and external contributors or contractors. A contributor could add or edit a post and provide a malicious value for the theme’s custom_width_value field. That value would be stored in post meta and may execute in the browser of any user who views the post, including editors or administrators previewing pending posts during review.
Practical consequences include disclosure of information available in the victim’s browser (limited confidentiality impact), and the potential for injected scripts to perform actions on behalf of the viewer within the constraints of their privileges (limited integrity impact). This can increase the risk of targeted phishing or social engineering if attacker-controlled scripts collect visible user data or perform actions such as loading external resources.
If youre unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review.
Recommended Actions
- Update the affected theme to a patched version as soon as one is available.
- Review and reduce unnecessary user roles, especially contributor accounts and other low-privilege roles that can create or edit posts.
- Enforce strong passwords and enable two-factor authentication for editors and administrators.
- Remove unused or unmaintained themes and plugins from your installation.
- Monitor site activity and post content for unusual changes or unexpected HTML/CSS inline values.
If youd like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.
References
- https://themes.trac.wordpress.org/browser/page-builder-framework/2.11.9/inc/helpers.php#L595
- https://themes.trac.wordpress.org/browser/page-builder-framework/2.11.9/inc/options.php#L231
- https://themes.trac.wordpress.org/browser/page-builder-framework/2.11.9/inc/options.php#L251
- https://themes.trac.wordpress.org/changeset?reponame=&new=322599%40page-builder-framework%2F2.11.10&old=311538%40page-builder-framework%2F2.11.9
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8af3b885-e96e-4770-b0bb-f7bcdde92927?source=cve