Files
CVEs-PoC/2021/CVE-2021-24202.md
2025-09-29 21:09:30 +02:00

18 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### [CVE-2021-24202](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24202)
![](https://img.shields.io/static/v1?label=Product&message=Elementor%20Website%20Builder&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=3.1.4%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen)
### Description
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.
### POC
#### Reference
- https://wpscan.com/vulnerability/b72bd13d-c8e2-4347-b009-542fc0fe21bb
#### Github
- https://github.com/20142995/nuclei-templates