Vulnerability record · CVE-2021-24378 · published 21 June 2021
CVE-2021-24378: Autoptimize cross-site scripting vulnerability
Autoptimize · Autoptimize
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.
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:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://wpscan.com/vulnerability/375bd694-1a30-41af-bbd4-8a8ee54f0dbf | ExploitThird Party Advisory |
| https://wpscan.com/vulnerability/375bd694-1a30-41af-bbd4-8a8ee54f0dbf | ExploitThird Party Advisory |
Track CVE-2021-24378 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-24378), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.