Envato Elements <= 2.0.10 & Template Kit <= 1.0.13 - Authenticated (Contributor+) Arbitrary File Upload

Unrestricted Upload of File with Dangerous Type
CVE CVE-2021-4330
CVSS High (8.8)
Publicly Published October 21, 2021
Last Updated January 22, 2024
Researcher Chloe Chamberland
Description

The Envato Elements & 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 & Download.

References

2 affected software package

Software Type Plugin
Software Slug template-kit-import (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.0.13
Patched Version
  • 1.0.14
Software Type Plugin
Software Slug envato-elements (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 2.0.10
Patched Version
  • 2.0.11
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.