7.6
CWE
284 79 99
Advisory Published
Updated

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

First published: Wed Nov 17 2021(Updated: )

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.

Credit: security@wordfence.com security@wordfence.com

Affected SoftwareAffected VersionHow to fix
KadenceWP Starter Templates<=2.7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-42360?

    CVE-2021-42360 is a vulnerability that affects sites using the Elementor plugin for WordPress and allows users with the edit_posts capability to import blocks onto any page.

  • What is the severity of CVE-2021-42360?

    CVE-2021-42360 has a severity value of 5.4, which is considered high.

  • How does CVE-2021-42360 affect Brainstormforce Starter Templates?

    CVE-2021-42360 affects Brainstormforce Starter Templates versions up to and including 2.7.0.

  • How can an attacker exploit CVE-2021-42360?

    An attacker can exploit CVE-2021-42360 by crafting and hosting a malicious block that can be imported onto any page using the astra-page-elementor-batch-process AJAX action.

  • Where can I find more information about CVE-2021-42360?

    You can find more information about CVE-2021-42360 at the following link: [Wordfence Blog](https://www.wordfence.com/blog/2021/11/over-1-million-sites-impacted-by-vulnerability-in-starter-templates-plugin/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203