Page Builder: Pagelayer – Drag and Drop website builder <= 2.2.2 - Authenticated (Contributor+) Missing Authorization to Global Style and Theme Template Modification via AI Layout Generation

Medium 4.3 CWE-862Fixed in 2.2.3
ID
WPSEC-2026-3577
Plugin
Page Builder: Pagelayer – Drag and Drop website builder (pagelayer)
Affected
from 2.2.0 before 2.2.3
Remediation
Update to 2.2.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-862
Usage
Plugin Medium · Affected versions Low among sites WPSec scans, 2026-11-20
Attack surface
Page Builder: Pagelayer – Drag and Drop website builder on WPSec AttackSurface
Fix released
Published

Description

The Page Builder: Pagelayer – Drag and Drop website builder plugin for WordPress is vulnerable to unauthorized modification of data in versions 2.2.0 up to, and including, 2.2.2. This is due to missing capability checks in the AI layout generation flow of the /pagelayer/v1/ai/generate REST endpoint, which only required the edit_posts capability. The flow saved the site-wide pagelayer_global_colors and pagelayer_global_fonts options without checking for the manage_options capability, including through direct 'change global color' prompts that need no AI provider. It also created or overwrote published theme templates, such as headers and footers, without checking for the edit_theme_options capability. This makes it possible for authenticated attackers, with contributor-level access and above, to modify the site's global styles and to create or overwrite site-wide theme templates.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0