CVE-2021-24891 Elementor < 3.4.8 - DOM Cross-Site-Scripting
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.
Other vulnerabilities in Unknown Elementor Website Builder
- CVE-2023-48777 WordPress Elementor plugin 3.3.0-3.18.1 - Arbitrary File Upload vulnerability
- CVE-2020-7109 Cross-site scripting in n/a
- CVE-2022-1329 Elementor Website Builder 3.6.0 - 3.6.2 - Missing Authorization to Remote Code Execution
- CVE-2024-24934 WordPress Elementor plugin <= 3.19.0 - Arbitrary File Deletion and Phar Deserialization vulnerability
- CVE-2023-0329 Elementor Website Builder < 3.12.2 - Admin+ SQLi
Sources
Also known as GHSA-26jf-gmgg-9m8f.