CVE-2021-42360

Starter Templates — Elementor, Gutenberg & Beaver Builder Templates <= 2.7.0 - Missing Authorization to Stored Cross-Site Scripting

highMissing Authorization
7.6
CVSS Score
7.6
CVSS Score
high
Severity
2.7.1
Patched in
841d
Time to patch

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.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Low
Confidentiality
High
Integrity
Low
Availability

Technical Details

Affected versions<=2.7.0
PublishedOctober 4, 2021
Last updatedJanuary 22, 2024
Affected pluginastra-sites

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.