CVE-2021-24203 Elementor < 3.1.2 - Authenticated Stored Cross-Site Scripting (XSS) in Divider Widget

Medium 5.4 Published Updated

Authenticated attackers can inject malicious scripts via the Divider widget, leading to stored XSS when pages are viewed.

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

What is CVE-2021-24203?

CVE-2021-24203 is a medium-severity cross-site scripting vulnerability in Unknown Elementor Website Builder, published on 5 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In the Elementor Website Builder WordPress plugin before 3.1.4, the divider widget (includes/widgets/divider.php) accepts an ‘html_tag’ parameter. Although the element control lists a fixed set of possible html tags, it is possible for a user with Contributor or above permissions to send a modified ‘save_builder’ request with this parameter set to ‘script’ and combined with a ‘text’ parameter containing JavaScript, which will then be executed when the saved page is viewed or previewed.

Weakness: CWE-79

Which versions are affected by CVE-2021-24203?

It affects 1 product.

Products include Elementor Website Builder.

How do I fix CVE-2021-24203?

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

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

Sources

Also known as GHSA-66w3-q6c3-mx37.

Is CVE-2021-24203 in your software?

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

Check your SBOMs for free