CVE-2023-5124 PageLayer < 1.8.0 - Author+ Stored XSS

Medium 4.8 Published Updated

Administrators can inject malicious JavaScript into post headers or footers, bypassing unfiltered_html restrictions in multi-site WordPress configurations.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-5124?

CVE-2023-5124 is a medium-severity cross-site scripting vulnerability in Unknown Page Builder: Pagelayer, published on 29 Jan 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

The Page Builder: Pagelayer WordPress plugin before 1.8.0 doesn't prevent attackers with administrator privileges from inserting malicious JavaScript inside a post's header or footer code, even when unfiltered_html is disallowed, such as in multi-site WordPress configurations.

Weakness: CWE-79

Which versions are affected by CVE-2023-5124?

It affects 1 product.

Products include Pagelayer Pagelayer.

How do I fix CVE-2023-5124?

No fix has been published for CVE-2023-5124 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-2023-5124 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5124 exists.

Sources

Also known as GHSA-hpcp-jfj7-rjww.

Is CVE-2023-5124 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free