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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version
Timeline
| 2026-02-13: | Vendor Notified |
| 2026-04-07: | Disclosed |
Credits
Athiwat Tiprasaharn
References
www.wordfence.com/...-2bae-4ea6-babb-7e8e99054cd0?source=cve
plugins.trac.wordpress.org/...layer/trunk/main/functions.php
plugins.trac.wordpress.org/...k/main/shortcode_functions.php
plugins.trac.wordpress.org/changeset/3479046/