CVE-2021-42360 HIGH

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

Vendor Brainstormforce
Product Starter Templates — Elementor, Gutenberg & Beaver Builder Templates
Weakness CWE-284
Published November 17, 2021
Last update February 14, 2025

CVSS base score

7.6/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Starter Templates for Elementor, Gutenberg & Beaver Builder contains an access control flaw in version 2.7.0 that allows authenticated users with low privileges to read sensitive data and modify site content. The vulnerability requires a valid user account but no special interaction. Site administrators should update immediately to a version newer than 2.7.0.

What an attacker can do

03Attacker Capabilities

Read sensitive data and modify site content with a low-privilege user account.

Potential impact on your site

04Site Impact

Unauthorized users can access and modify protected content, compromising site integrity and confidentiality.

Conditions required to exploit

05Prerequisites

Attacker must have a valid low-privilege user account on the site.

Key dates

06Disclosure timeline

November 17, 2021 CVE published
February 14, 2025 Record updated

Related vulnerabilities

08Related CVE