cve/2021/CVE-2021-24202.md

18 lines
1.1 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [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%3C%203.1.4%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen)
### 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
No PoCs found on GitHub currently.