CVE-2021-24378
publishedAutoptimize < 2.7.8 - Authenticated Stored XSS via File Upload
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 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.
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-79 CWE-79 Cross-site Scripting (XSS)
References
1Provider assertions
2WPScan · cna
Autoptimize < 2.7.8 - Authenticated Stored XSS via File Upload
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6a4526be8576961ca74c356fe3a248979e3b1143c46a71d582962dfcd3beb030
- Ingested
- 23 Sep 2026, 07:52:58 UTC
- Source record
- Official CVE record