CVE-2021-24376
publishedAutoptimize < 2.7.8 - Arbitrary File Upload via "Import Settings"
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Unknown | — | Autoptimize2.7.8 to < 2.7.8 | Affected | Not stated | WPScan |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Unknown | Autoptimize | 2.7.8 to < 2.7.8 (affected · custom) | WPScan · cna |
Weaknesses
1- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
References
1Provider assertions
2WPScan · cna
Autoptimize < 2.7.8 - Arbitrary File Upload via "Import Settings"
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 23d840331b9fefdaa8d033b54616a35c2f42c586a086c262bd172b016342917d
- Ingested
- 23 Sep 2026, 07:52:58 UTC
- Source record
- Official CVE record