# CVE-2021-24202: Elementor \< 3.1.2 - Authenticated Stored Cross-Site Scripting (XSS) in Heading Widget

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-05 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-24202 · JSON: https://cvemate.com/vulnerability/CVE-2021-24202/json

## Description

```text
In the Elementor Website Builder WordPress plugin before 3.1.4, the heading widget (includes/widgets/heading.php) accepts a ‘header_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 with this parameter set to ‘script’ and combined with a ‘title’ parameter containing JavaScript, which will then be executed when the saved page is viewed or previewed.
```

## Signals

- CVSS: 6.4 medium (v3.1, wordfence) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- EPSS: 0.746%, percentile 56.205%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- elementor website\_builder: \< 3.1.4
- unknown elementor website builder: ≥ 3.1.4, \< 3.1.4
- wordpress elementor: ≥ 0.1.0, ≤ 3.1.3 (fixed in 3.1.4)

## References

- <https://www.wordfence.com/blog/2021/03/cross-site-scripting-vulnerabilities-in-elementor-impact-over-7-million-sites/>
- <https://wpscan.com/vulnerability/b72bd13d-c8e2-4347-b009-542fc0fe21bb>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/90f96795-8df7-4388-b58e-fc3611bc215c>

---

Data as of 2026-12-05T04:59:23.485Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
