4.8medium
Autoptimize < 2.7.8 - Authenticated Stored XSS via File Upload
- Severity
- 4.8medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.62% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Autoptimize | from 2.7.8 before 2.7.8 | CVE List |
| autoptimize autoptimize | before 2.7.8 | NVD |
All scores
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
El plugin Autoptimize de WordPress versiones anteriores a 2.7.8, no comprueba si hay archivos maliciosos como .html en el archivo subido por medio de la funcionalidad "Import Settings". Como resultado, es posible que un usuario muy privilegiado cargar un archivo malicioso que contenga código JavaScript dentro de un archivo que se ejecutará cuando una víctima visite el archivo index.html dentro del directorio del plugin
References
| https://wpscan.com/vulnerability/375bd694-1a30-41af-bbd4-8a8ee54f0dbf | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24378 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24378 changed 2026-06-17 | Public domain |