Skip to content

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

MediumCVSS 5.4 EPSS 0.75%
Published
Updated
Exploit status
No public exploit known
Technology
PHPWordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Elementor website builder < 3.1.4 3.1.4 Fixed
wordpress elementor(WordPress) >= 0.1.0, < 3.1.4 3.1.4 Fixed

Affected products

ProductAffected versionsFixed in
Elementor website builder < 3.1.4 3.1.4
wordpress elementor(WordPress) >= 0.1.0, < 3.1.4 3.1.4

References