{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-4330 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-4330 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-4330 is a high-severity vulnerability in Envato Elements – Photos \u0026 Elementor Templates, published on 7 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-4330 and fix it if it is affected.\n\nWhat it is: CVE-2021-4330 is a high-severity vulnerability in Envato Elements – Photos \u0026 Elementor Templates, published on 7 Mar 2023. 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-4330 in the wild and no public exploit code.\n\nAffected product: Envato Elements – Photos \u0026 Elementor 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-4330/ (Markdown: https://insights.sbomify.com/CVE-2021-4330/index.md)","id":"CVE-2021-4330","markdown":"https://insights.sbomify.com/CVE-2021-4330/index.md","name":"CVE-2021-4330","record":{"aliases":["GHSA-975q-7mxh-v8gj"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Authenticated contributors can upload arbitrary files via Zip extraction flaws in Envato Elements and Template Kit plugins, potentially achieving remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"envato_elements","vendor":"envato"},{"product":"template_kit_-_import","vendor":"envato"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"The Envato Elements \u0026 Download and Template Kit – Import plugins for WordPress are vulnerable to arbitrary file uploads due to insufficient validation of file type upon extracting uploaded Zip files in the installFreeTemplateKit and uploadTemplateKitZipFile functions. This makes it possible for attackers with contributor-lever permissions and above to upload arbitrary files and potentially gain remote code execution in versions up to and including 1.0.13 of Template Kit – Import and versions up to and including 2.0.10 of Envato Elements \u0026 Download.","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":"Envato Elements \u003c= 2.0.10 \u0026 Template Kit \u003c= 1.0.13 - Authenticated (Contributor+) Arbitrary File Upload","id":"CVE-2021-4330","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"Privilege escalation in The Plus Addons for Elementor Page Builder Pro","id":"CVE-2021-4331"},"packages":[],"prev":{"headline":"json-logic-js logic.js command injection","id":"CVE-2021-4329"},"products":["Envato Elements – Photos \u0026 Elementor Templates","Template Kit – Import"],"published":"2023-03-07","related":[],"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":"total"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["envato"]},"summary":"Authenticated contributors can upload arbitrary files via Zip extraction flaws in Envato Elements and Template Kit plugins, potentially achieving remote code execution.","url":"https://insights.sbomify.com/CVE-2021-4330/"}