Live threats

All CVEs / Autoptimize

CVE-2021-24376Autoptimize

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
3.7%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Jun 21, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-434
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The Autoptimize WordPress plugin before 2.7.8 attempts to delete malicious files (such as .php) form the uploaded archive via the "Import Settings" feature, after its extraction. However, the extracted folders are not checked and it is possible to upload a zip which contained a directory with PHP file in it and then it is not removed from the disk. It is a bypass of CVE-2020-24948 which allows sending a PHP file via the "Import Settings" functionality to achieve Remote Code Execution.

Original NVD text.

What to do

  1. Apply the vendor's security update for Autoptimize.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
autoptimizeautoptimize< 2.7.8

Official sources

References

Links published by the sources. Open them with care.