CVE-2021-24378: Autoptimize < 2.7.8 - Authenticated Stored XSS via File Upload
Vulnerability summary
CVE-2021-24378 is a medium (CVSS 4.8) vulnerability in autoptimize. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 51% of scored vulnerabilities. 1 public exploit is recorded. Fixed in 2.7.8.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 21-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.62%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.62% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Autoptimize1 product
- autoptimize< 2.7.8
Unknown1 product
- autoptimize≥ 2.7.8, < 2.7.8
Wordpress1 product
- autoptimize< 2.7.8
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/375bd694-1a30-41af-bbd4-8a8ee54f0dbfX Refsource CONFIRMExploitThird Party Advisory