CVE-2021-24205: Elementor Website Builder - Stored XSS
- Cve: CVE-2021-24205
- Name: Elementor Website Builder - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary JavaScript in the context of the affected site, potentially leading to session hijacking, defacement, or malicious redirects.
- Remediation: Update to version 3.1.4 or later to fix input filtering and output escaping issues.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs Contributor or above permissions to send modified save requests.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.0075
- Epss percentile: 0.55888
- Assignee: [email protected]
- Published at: 2021-04-05T19:15:17Z
- Age in days: 2059
- Modified at: 2026-06-17T03:39:35Z
- Patch available: yes
- Public exploits total: 2
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24205
- Nvd status: modified
- Checked, none or zero: nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2023-01-29 | — | no |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/ef23df6d-e265-44f6-bb94-1005b16d34d9 | nvd | Exploit, Third Party Advisory |
| https://www.wordfence.com/blog/2021/03/cross-site-scripting-vulnerabilities-in-elementor-impact-over-7-million-sites/ | nvd | Exploit, Third Party Advisory |
| https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/elementor/elementor-website-builder-313-authenticated-contributor-stored-cross-site-scripting-via-title-size-parameter | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| elementor:website_builder | < 3.1.4 | no | nvd | /v1/products/elementor/website_builder |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2023-01-29
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2021-04-05
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Exposed hosts: 10592
- Checked, none or zero: known exploited, exploitation seen, initial access
- Not known: known exploited since, nuclei template, initial access since