# CVE-2021-24204: Elementor \< 3.1.2 - Authenticated Stored Cross-Site Scripting (XSS) in Accordion 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-24204 · JSON: https://cvemate.com/vulnerability/CVE-2021-24204/json

## Description

```text
In the Elementor Website Builder WordPress plugin before 3.1.4, the accordion widget (includes/widgets/accordion.php) accepts a ‘title_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 containing JavaScript in the ‘title_html_tag’ parameter, which is not filtered and is output without escaping. This JavaScript 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.206%, 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: ≤ 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/772e172f-c8b4-4a6a-9eb9-9663295cfedf>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/14dd84e5-69fa-4de9-b72c-dfedfd85582c>

---

Data as of 2026-12-05T06:04:33.158Z. 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
