Description
The Beaver Builder Page Builder – Drag and Drop Website Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Button Module 'button' (Button Code) Setting in all versions up to, and including, 2.10.2.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Beaver Builder grants editor access to any WordPress role holding the edit_posts capability by default, meaning Author-level users and above can exploit this vulnerability.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
beaverbuilder Beaver Builder Page Builder – Drag and Drop Website Builder
Default version status: unaffected
0 to ≤ 2.10.2.2affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0abbdf2c-b1f8-4431-b892-1d7972749af6?source=cve ↗
- https://plugins.trac.wordpress.org/browser/beaver-builder-lite-version/trunk/modules/button/includes/frontend.js.php#L8 ↗
- https://plugins.trac.wordpress.org/browser/beaver-builder-lite-version/tags/2.10.2.2/modules/button/includes/frontend.js.php#L8 ↗
- https://plugins.trac.wordpress.org/browser/beaver-builder-lite-version/tags/2.10.2.2/classes/class-fl-builder-model.php#L4659 ↗
- https://plugins.trac.wordpress.org/browser/beaver-builder-lite-version/tags/2.10.2.2/modules/button/button.php#L341 ↗
- https://plugins.trac.wordpress.org/browser/beaver-builder-lite-version/tags/2.10.1.5/modules/button/includes/frontend.js.php#L8 ↗
- https://plugins.trac.wordpress.org/browser/beaver-builder-lite-version/tags/2.10.1.5/classes/class-fl-builder-model.php#L4659 ↗
- https://plugins.trac.wordpress.org/browser/beaver-builder-lite-version/tags/2.10.1.5/modules/button/button.php#L341 ↗
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3645274%40beaver-builder-lite-version&new=3645274%40beaver-builder-lite-version ↗