CVE-2021-42360CWE-284CWE-79CWE-99

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

High · published November 17, 2021

CVSS v3.1
7.6
EPSS
1%
Percentile
48.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00604 · 48.2th percentile
Weaknesses
CWE-284 · Improper Access Control; CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-99 · Improper Control of Resource Identifiers ('Resource Injection')
Published
2021-11-17T17:45Z
EPSS history
Timeline
  • 17 NOV 17:45Z
    Starter Templates — Elementor, Gutenberg & Beaver Builder Templates <= 2.7.0 Authenticated Block Import to Stored XSS
    cvelistv5