CVE-2021-24205 Elementor < 3.1.2 - Authenticated Stored Cross-Site Scripting (XSS) in Icon Box Widget
Authenticated attackers can inject JavaScript via the icon box widget title size parameter, leading to stored XSS when 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-24205?
CVE-2021-24205 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 icon box widget (includes/widgets/icon-box.php) accepts a ‘title_size’ 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 containing JavaScript in the ‘title_size’ parameter, which is not filtered and is output without escaping. This JavaScript will then be executed when the saved page is viewed or previewed.
Weakness: CWE-79
Which versions are affected by CVE-2021-24205?
It affects 1 product.
Products include Elementor Website Builder.
How do I fix CVE-2021-24205?
No fix has been published for CVE-2021-24205 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-24205 being exploited?
There is no known exploitation of CVE-2021-24205 in the wild and no public exploit code.
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-pff9-9x5h-m85p.