{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-42360 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-42360 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-42360 is a high-severity cross-site scripting vulnerability in BrainStormForce Starter Templates — Elementor, Gutenberg \u0026 Beaver Builder Templates, published on 17 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-42360 and fix it if it is affected.\n\nWhat it is: CVE-2021-42360 is a high-severity cross-site scripting vulnerability in BrainStormForce Starter Templates — Elementor, Gutenberg \u0026 Beaver Builder Templates, published on 17 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-42360 in the wild and no public exploit code.\n\nAffected product: BrainStormForce Starter Templates — Elementor, Gutenberg \u0026 Beaver Builder Templates. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-42360/ (Markdown: https://insights.sbomify.com/CVE-2021-42360/index.md)","id":"CVE-2021-42360","markdown":"https://insights.sbomify.com/CVE-2021-42360/index.md","name":"CVE-2021-42360","record":{"aliases":["GHSA-w3jq-67c5-3rfj"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Authenticated users can inject malicious JavaScript into Elementor pages via block import, leading to stored XSS and potential site compromise.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"starter_templates","vendor":"brainstormforce"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-99","name":"Improper Control of Resource Identifiers"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-284","name":"Improper Access Control"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Starter Templates — Elementor, Gutenberg \u0026 Beaver Builder Templates \u003c= 2.7.0 Authenticated Block Import to Stored XSS","id":"CVE-2021-42360","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Contact Form Email \u003c= 1.3.24 Authenticated Stored Cross-Site Scripting","id":"CVE-2021-42361"},"packages":[],"prev":{"headline":"WP DSGVO Tools (GDPR) \u003c= 3.1.23 Unauthenticated Arbitrary Post Deletion","id":"CVE-2021-42359"},"products":["Starter Templates — Elementor, Gutenberg \u0026 Beaver Builder Templates"],"published":"2021-11-17","related":[{"cvss_score":7.1,"headline":"WordPress Starter Templates Plugin \u003c= 3.2.4 is vulnerable to Server Side Request Forgery (SSRF)","id":"CVE-2023-41804","kev_date_added":null,"published":"2023-12-07"},{"cvss_score":6.5,"headline":"Broken Access Control vulnerability in multiple Brainstorm Force plugins","id":"CVE-2023-41805","kev_date_added":null,"published":"2024-06-19"},{"cvss_score":4.3,"headline":"WordPress Starter Templates Plugin \u003c= 3.1.20 is vulnerable to Cross Site Request Forgery (CSRF)","id":"CVE-2022-46851","kev_date_added":null,"published":"2023-05-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-14","vendors":["BrainStormForce"]},"summary":"Authenticated users can inject malicious JavaScript into Elementor pages via block import, leading to stored XSS and potential site compromise.","url":"https://insights.sbomify.com/CVE-2021-42360/"}