CVE-2021-24205
WordPress vulnerability analysis and mitigation

Overview

CVE-2021-24205 is a Cross-Site Scripting (XSS) vulnerability discovered in the Elementor Website Builder WordPress plugin versions before 3.1.4. The vulnerability was identified on January 14, 2021, and publicly disclosed on March 17, 2021. The issue affects the icon box widget functionality within the plugin, which is used by over 7 million WordPress sites (WPScan, Wordfence).

Technical details

The vulnerability exists in the icon box widget (includes/widgets/icon-box.php) which accepts a 'title_size' parameter. While the element control specifies a fixed set of possible HTML tags, users with Contributor or higher permissions can bypass this restriction by sending a modified 'save_builder' request containing JavaScript in the 'title_size' parameter. The parameter is neither filtered nor properly escaped before output, leading to stored XSS. The vulnerability has been assigned a CVSS score of 6.4 (medium) and is classified as CWE-79 (WPScan).

Impact

When exploited, this vulnerability allows authenticated users with Contributor or higher permissions to inject malicious JavaScript code that executes when the affected page is viewed or previewed by other users. This could potentially lead to unauthorized actions being performed on behalf of other users who view the compromised page (WPScan).

Exploitability

The vulnerability requires an authenticated user with at least Contributor-level permissions to exploit. A proof of concept exists demonstrating how an attacker can inject JavaScript code through the 'title_size' parameter in a 'save_builder' request (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in Elementor version 3.1.4. Site administrators are strongly advised to update to this version or later to protect against this security issue (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management