What’s Vulnerable › Vulnerabilities
CVE-2026-2509: Page Builder: Pagelayer <= 2.0.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Button Widget Custom Attributes
- Severity: medium (CVSS 6.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-08 · updated 2026-07-25
- Weakness: CWE-79
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
References
- 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/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/915c119d-2bae-4ea6-babb-7e8e99054cd0?source=cve
Get alerted when CVE-2026-2509 or the next vulnerability affects your stack