CVE-2024-0506 Cross-site scripting in Elementor Website Builder – more than just a page builder

Medium 6.4 Published Updated

Authenticated contributors can inject arbitrary scripts via image alt text, leading to potential code execution when users interact with the page.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-0506?

CVE-2024-0506 is a medium-severity cross-site scripting vulnerability in elemntor Elementor Website Builder – more than just a page builder, published on 20 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Elementor Website Builder – More than Just a Page Builder plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the $instance[alt] parameter in the get_image_alt function in all versions up to, and including, 3.18.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers with contributor access or higher 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.

Weakness: CWE-79

Which versions are affected by CVE-2024-0506?

It affects 1 product.

Products include Elementor Website Builder.

How do I fix CVE-2024-0506?

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

There is no known exploitation of CVE-2024-0506 in the wild and no public exploit code.

Sources

Also known as GHSA-jqm3-j4q4-p7rj.

Is CVE-2024-0506 in your software?

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

Check your SBOMs for free