CVE-2025-4223 Cross-site scripting in Page Builder: Pagelayer – Drag and Drop website builder
Unauthenticated attackers can inject scripts via the login_url parameter, executing code in the context of authenticated users who click a crafted link.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-4223?
CVE-2025-4223 is a medium-severity cross-site scripting vulnerability in softaculous Page Builder: Pagelayer – Drag and Drop website builder, published on 24 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The Page Builder: Pagelayer – Drag and Drop website builder plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘login_url’ parameter in all versions up to, and including, 2.0.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. A valid username/password pair needs to be supplied in order to be successfully exploited and any injected scripts will only execute in the context of that authenticated user.
Weakness: CWE-79
Which versions are affected by CVE-2025-4223?
How do I fix CVE-2025-4223?
No fix has been published for CVE-2025-4223 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-4223 being exploited?
There is no known exploitation of CVE-2025-4223 in the wild and no public exploit code.
Sources
Also known as GHSA-r228-5hvw-cxmh.