Description
The Page Builder: Pagelayer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Button widget's Custom Attributes field in all versions up to, and including, 2.0.8. This is due to an incomplete event handler blocklist in the 'pagelayer_xss_content' XSS filtering function, which blocks common, but not all, event handlers. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
softaculous Page Builder: Pagelayer – Drag and Drop website builder
Default version status: unaffected
0 to ≤ 2.0.8affected
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/915c119d-2bae-4ea6-babb-7e8e99054cd0?source=cve ↗
- https://plugins.trac.wordpress.org/browser/pagelayer/trunk/main/functions.php#L1293 ↗
- https://plugins.trac.wordpress.org/browser/pagelayer/trunk/main/shortcode_functions.php#L689 ↗
- https://plugins.trac.wordpress.org/changeset/3479046/ ↗