CVE-2021-24891 Elementor < 3.4.8 - DOM Cross-Site-Scripting

Medium 6.1 Published Updated

An attacker can execute arbitrary JavaScript in the victim's browser via a malicious hash, potentially leading to session hijacking or site defacement.

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-2021-24891?

CVE-2021-24891 is a medium-severity cross-site scripting vulnerability in Unknown Elementor Website Builder, published on 23 Nov 2021. 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 Elementor Website Builder WordPress plugin before 3.4.8 does not sanitise or escape user input appended to the DOM via a malicious hash, resulting in a DOM Cross-Site Scripting issue.

Weakness: CWE-79

Which versions are affected by CVE-2021-24891?

It affects 1 product.

Products include Elementor Website Builder.

How do I fix CVE-2021-24891?

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

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

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-26jf-gmgg-9m8f.

Is CVE-2021-24891 in your software?

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

Check your SBOMs for free