Arbitrary file upload in Envato Elements

CVE-2021-4330

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.

Vulnerability class: Unrestricted File Upload

EPSS: 0.015 (71.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-4330?
CVE-2021-4330 is a high-severity vulnerability in Envato Elements, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2023-03-07.
How severe is CVE-2021-4330?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2021-4330 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.