CVE-2026-5095
Description
The Page Builder Framework theme for WordPress is vulnerable to Stored Cross-Site Scripting via the custom_width_value post meta field in versions up to, and including, 2.11.9. This is due to insufficient input sanitization in the wpbf_save_metadata() function of inc/options.php, where user input from $_POST['wpbf_options']['custom_width_value'] is stored directly into post meta without sanitization, combined with insufficient output escaping in the wpbf_inner_content() function of inc/helpers.php, where the stored value is concatenated into an HTML style attribute without esc_attr(). 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 WordPress components
-
Page Builder Framework Theme · page-builder-frameworkUp to and including 2.11.9View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- davidvongries Page Builder Framework — Up to and including 2.11.9
References
- themes.trac.wordpress.org https://themes.trac.wordpress.org/browser/page-builder-framework/2.11.9/inc/helpers.php#L595
- themes.trac.wordpress.org https://themes.trac.wordpress.org/browser/page-builder-framework/2.11.9/inc/options.php#L231
- themes.trac.wordpress.org https://themes.trac.wordpress.org/browser/page-builder-framework/2.11.9/inc/options.php#L251
- themes.trac.wordpress.org https://themes.trac.wordpress.org/changeset?reponame=&new=322599%40page-builder-framework%2F2.11.10&old=311538%40page-builder-framework%2F2.11.9
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/8af3b885-e96e-4770-b0bb-f7bcdde92927?source=cve
- nvd.nist.gov Official NVD record