# CVE-2021-24378: Autoptimize \< 2.7.8 - Authenticated Stored XSS via File Upload

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-06-21 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-24378 · JSON: https://cvemate.com/vulnerability/CVE-2021-24378/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.617%, percentile 51.03%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- autoptimize autoptimize: \< 2.7.8
- unknown autoptimize: ≥ 2.7.8, \< 2.7.8
- wordpress autoptimize: \< 2.7.8

## References

- <https://wpscan.com/vulnerability/375bd694-1a30-41af-bbd4-8a8ee54f0dbf>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/c95210ba-65f6-4bf8-8986-f537f1854d02>

---

Data as of 2026-12-05T13:31:52.761Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
