CVE-2021-24378: Autoptimize

Medium severity, CVSS 4.8. EPSS: 0.6% chance of exploitation in the next 30 days.

The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded via the 'Import Settings' feature. As a result, it is possible for a high privilege user to upload a malicious file containing JavaScript code inside an archive which will execute when a victim visits index.html inside the plugin directory.

Affected products

Published 2021-06-21. Last modified 2026-06-17.