Skip to content

CVE-2021-42360 Starter Templates — Elementor, Gutenberg & Beaver Builder Templates <= 2.7.0 Authenticated Block Import to Stored XSS

MediumCVSS 5.4 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

Description

On sites that also had the Elementor plugin for WordPress installed, it was possible for users with the edit_posts capability, which includes Contributor-level users, to import blocks onto any page using the astra-page-elementor-batch-process AJAX action. An attacker could craft and host a block containing malicious JavaScript on a server they controlled, and then use it to overwrite any post or page by sending an AJAX request with the action set to astra-page-elementor-batch-process and the url parameter pointed to their remotely-hosted malicious block, as well as an id parameter containing the post or page to overwrite. Any post or page that had been built with Elementor, including published pages, could be overwritten by the imported block, and the malicious JavaScript in the imported block would then be executed in the browser of any visitors to that page.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
brainstormforce starter templates <= 2.7.0 after 2.7.0 Fixed
brainstormforce Starter Templates — Elementor, Gutenberg & Beaver Builder Templates >= 2.7.0, <= 2.7.0 after 2.7.0 Fixed
wordpress astra-sites(WordPress) < 2.7.1 2.7.1 Fixed

Affected products

ProductAffected versionsFixed in
brainstormforce starter templates <= 2.7.0 No fix listed
brainstormforce Starter Templates — Elementor, Gutenberg & Beaver Builder Templates >= 2.7.0, <= 2.7.0 No fix listed
wordpress astra-sites(WordPress) < 2.7.1 2.7.1

References