Page Builder: Pagelayer – Drag and Drop website builder <= 2.2.2 - Authenticated (Contributor+) Server-Side Request Forgery via AI Generation Endpoint

Medium 6.4 CWE-918Fixed in 2.2.3
ID
WPSEC-2026-3578
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:C/C:L/I:L/A:N
Weakness
CWE-918
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 Server-Side Request Forgery via the /pagelayer/v1/ai/generate REST endpoint in versions 2.2.0 up to, and including, 2.2.2. This is due to the endpoint sending a POST request with wp_remote_post() to a custom AI endpoint URL without validating where it points. The URL comes either from the request's 'custom_endpoint' parameter or from the user's own saved AI settings. The endpoint and the settings route only required the edit_posts capability. This makes it possible for authenticated attackers, with contributor-level access and above, to make web requests to arbitrary locations originating from the web application, including loopback and internal network addresses, and to see parts of the responses. This can be used to query and modify information from internal services.

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